Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

dialog box

salem__arezki
Beginner
779 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
779 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.

0 Kudos
Reply