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;

I had to put all the while loop in a modelica function?

Regards,
Hassen

 __________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 

Reply via email to