Author |
Message |
Topic: Grab parameters from external file |
LouisT
Replies: 7
Views: 14471
|
Forum: General Posted: Fri Mar 21, 2008 5:46 pm Subject: |
Hi Paul,
Here is a sample code. So when I run the executable, I can append the parameters to the execute command and the program will use those parameters. Thanks for your help!
~~~~~~~~
PROGRAM ... |
Topic: Grab parameters from external file |
LouisT
Replies: 7
Views: 14471
|
Forum: General Posted: Mon Mar 17, 2008 7:19 pm Subject: |
Hi, Paul, thanks. I did declare the buffer as a character variable beforehand. The issue is, when I compile the program, the error message appears:
C:\FORTRAN\CAT.F90(28) : error 573 - Missing expr ... |
Topic: Grab parameters from external file |
LouisT
Replies: 7
Views: 14471
|
Forum: General Posted: Sun Mar 16, 2008 8:00 pm Subject: |
Thanks Paul! That was really helpful. The next question I have is, how can I compile the project/program given that I have not specified the character buffer beforehand?
E.g., CALL getarg(1,buffer) |
Topic: Grab parameters from external file |
LouisT
Replies: 7
Views: 14471
|
Forum: General Posted: Sat Mar 01, 2008 12:58 am Subject: Grab parameters from external file |
Hi,
I'm new to Fortran and programming in general. I'm interested in running simulations in FORTRAN. One of the things is that I need to run the code multiple times using different starting parame ... |
|