- #1
arhangela
- 2
- 0
Hello
I wondered if in Fortran 90 I can define a variable whose value will be given only while executing the program, in the same line as the execution command, for example like this:
./exe 100
I know one can use the "read" command, but that way you only enter the variable's value once the program is executed (in a new line)
I tried to Google it but I'm new to Fortran and I'm not sure to know the right terms to look for it efficiently.
Thanks!
I wondered if in Fortran 90 I can define a variable whose value will be given only while executing the program, in the same line as the execution command, for example like this:
./exe 100
I know one can use the "read" command, but that way you only enter the variable's value once the program is executed (in a new line)
I tried to Google it but I'm new to Fortran and I'm not sure to know the right terms to look for it efficiently.
Thanks!