Silverfrost Forums

Welcome to our forums

How to do???

14 Aug 2008 12:25 #3701

Hi,

I´m running a program that filters the data into different Timesteps: 1min, 2min, 5min,....

Becuase it´s up to the user to select the Timestep,I would like to do the program in this way:

As the .exe starts , I would like the program to ask which is the timestep and then run as the user selected. Could be something like this?:

READ , PRINT*,* Select timestep ! (in this point the user select between 1 and 9) READ *, i2

Starts and If bucke that runs the program depending of the user selection. for example if timestep is 1,2 or all:

if (TS=1) then go to label1 else if (TS=2) then go to label2 else if (TS=all) then go to label1 go to label2 end if

Thanks very much in advance, any help is really appreciated best regards rafael

Please login to reply.