Help - Search - Members - Calendar
Full Version: Internal error While statements in algorithms not supported yet
Modelica Forum > Modelica > MathModelica / OpenModelica
Jawhar
Hi,

The while statement isn't implemented yet in the last openmodelica nightly build. I have this error message:
----------------
Internal error While statements in algorithms not supported yet. Suggested workaround: place while statement in a Modelica function
--------------

how can i transform this for example?

algorithm
while x>100 loop
if y>0 then
....
end if;
end while;

Best Regards,
Jawhar
Jawhar
No one tried to use the while loop with OpenModelica?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.