replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Grab parameters from external file
LouisT

Replies: 7
Views: 14471

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group