replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - How to switch off dialog box raised if runtime error occur
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to switch off dialog box raised if runtime error occur

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
mg



Joined: 13 May 2009
Posts: 2

PostPosted: Wed Aug 24, 2011 5:17 am    Post subject: How to switch off dialog box raised if runtime error occur Reply with quote

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
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8211
Location: Salford, UK

PostPosted: Wed Aug 24, 2011 7:39 am    Post subject: Reply with quote

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

SET SALFENVAR=kill_dialogbox
Back to top
View user's profile Send private message AIM Address
mg



Joined: 13 May 2009
Posts: 2

PostPosted: Wed Aug 24, 2011 3:38 pm    Post subject: Reply with quote

It works!
Thank you for your quick answer.

Best Regards, Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group