Saarland University
Lehrstuhl für Automatisierungstechnik

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Internal error While statements in algorithms not supported yet, OpenModelica
Jawhar
post Jun 18 2008, 09:12 AM
Post #1


Advanced Member
***

Group: Members
Posts: 55
Joined: 19-January 07
Member No.: 336



No one tried to use the while loop with OpenModelica?


--------------------
IFP Energies Nouvelles
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jawhar
post Jun 13 2008, 07:22 AM
Post #2


Advanced Member
***

Group: Members
Posts: 55
Joined: 19-January 07
Member No.: 336



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


--------------------
IFP Energies Nouvelles
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 22nd May 2019 - 08:39 AM