- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » No fail messages
No fail messages
No fail messages
I'm starting to use OM for the first time.
I put in some commands into OMShell-terminal that should fail and I get no messages:
Code:
>>> a:=1:5;
>>> b:=3:8
{3,4,5,6,7,8}
>>> a*b
>>>
So I tried setting setDebugFlags("failtrace") as below:
Code:
>>> setDebugFlags("failtrace")
true
>>>
but I still get no fail messages.
What should I do to get messages?
Thanks, M
Re: No fail messages
Call getErrorString()
- sjoelund.se
- 1700 Posts
Re: No fail messages
Yes, that lists all the errors that occurred but I'm wondering why I don't get the same response as I see in the README.Linux.txt or in the OpenModelica Users Guide
Version 2012-12-08 in Example Session 1 on pages 14 & 15. Surely I don't have to execute getErrorString() after every command to see if there was an error?
Re: No fail messages
The one in the README uses the Qt version of OMShell, which executes getErrorString() after every single command (if I remember correctly). Someone probably forgot that the terminal version would give a different output.
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » No fail messages