Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

dialog box

salem__arezki
Beginner
117 Views

hi,

i'm using the resource editor to create a calucator program, so when i run the program all are ok, then when i display a dialog box and put all data of my problem then i validate the data and close the dialog box, when i re open it all the data are deleted and initilized to the initial value !

so what shall i do to keep my parameters even after closing the dialog box ? 

Arezki Salem 

0 Kudos
1 Reply
reidar
New User
117 Views

Check the property of your project: Project - > property -> Fortran -> Data.   At the "Local Variable Storage" ensure that the switch is set to "All Variables SAVE (/Qsave)

Otherwise you can apply the SAVE statement directly in your sub-routine. See Fortran documentation.

Reply