Get the error msg and error line within a script?
Posted: Tue May 01, 2018 8:02 pm
Is there a way to get the error msg and line (and script where it occurs) from within a script?
At the moment the error msg and line is only shown in a requester if an error occured while compiling/interpreting a script.
I would like to be able to jump to the error line in the script with FlowStudio (MorphOS) and show the message in the CompilerOutput tab.
I have made some FlowStudio scripts to complete the word under cursor, show a quickhelp, open MultiView with the AutoDoc etc, also
a HWStarter script to use as "BuildCommand", so I can press the "Hammer" in the toolbar to start a Hollywood script or compile for a specific target with rightmouse button.
Only missing thing is SyntaxHighlighting and jumping to the error line and showing the error msg;)
At the moment the error msg and line is only shown in a requester if an error occured while compiling/interpreting a script.
I would like to be able to jump to the error line in the script with FlowStudio (MorphOS) and show the message in the CompilerOutput tab.
I have made some FlowStudio scripts to complete the word under cursor, show a quickhelp, open MultiView with the AutoDoc etc, also
a HWStarter script to use as "BuildCommand", so I can press the "Hammer" in the toolbar to start a Hollywood script or compile for a specific target with rightmouse button.
Only missing thing is SyntaxHighlighting and jumping to the error line and showing the error msg;)