- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMShell Loop
Page Start Prev 1 Next End
OMShell Loop
OMShell Loop
Dec-17-14 11:00:04
Hi
How can I create a loop in OMShell? I saw this code in the User Guide but it doesn't work [<interactive>:1:0-1:3:writable] Error: Parser error: Unexpected token near: for]
k := 0;
for i in 1:1000 loop
system("Myexecutable.exe")
k := k + i;
end for;
Is this an acceptable way to run a executable file many times in OMShell?
Thank you.
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMShell Loop
There are 0 guests and 0 other users also viewing this topic