Hi all,
I am using intel fortran, and I would like to read from
command line the
name and the path of the input file.
I am using the getarg function but if I write this in the
code:
CALL GETARG(7,BUFFER)
READ(BUFFER,*) rainfile
and then in the command line:
Temp/Snow/Matrix_rain.txt
the program takes only the first part of the name, before
the / symbol: Temp
If I put the file in the same folder as the executable the
program takes
the right name because I have no / in the name.
Does everyone have a solution for me?
Thanks in advance for help...
Silvia
_______________________________________________
Do not post admin requests to the list. They will be
ignored.
Fortran-dev mailing list (Fortran-dev lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/
fortran-dev/nessto%40sharedlog.com
This email sent to nessto sharedlog.com
|