Silverfrost Forums

Welcome to our forums

How to switch off dialog box raised if runtime error occur

24 Aug 2011 4:17 #8849

Situation:

I have to run hundreds of data decks with a Silverfrost Fortran program. For some data decks a runtime error occurs (floating point exception, stack fault, ...) In that cases a dialog box is raised which can be closed only by a user interaction (clicking the ok button).

Question:

Can I influence this behaviour? Is there e.g. a linker option available to suppress the dialog and pass the error back to the shell?

Hope for help, Michael

24 Aug 2011 6:39 #8850

For Win32 you can set the following environment variable in order to divert the output to the command line...

SET SALFENVAR=kill_dialogbox

24 Aug 2011 2:38 #8861

It works! Thank you for your quick answer.

Best Regards, Michael

Please login to reply.