S
sara_patty
fortran command for c command strcopy(infile, argv[1])
fortran command for c command strcopy(infile, argv[1])
sara_patty said:fortran command for c command strcopy(infile, argv[1])
infile=argv(1)sara_patty said:fortran command for c command strcopy(infile, argv[1])
<still ot>sara_patty said:fortran command for c command strcopy(infile, argv[1])
Obviously it is better to ask Fortran questions in a Fortran newsgroup.
People when posting in comp.lang.c should not be expected to have
answers which are as reliable about Fortran as those in a Fortran newsgroup.
<ot>
Fortran does not standardly include the ability to inspect the command
line. However, many implementations provide non-standard functions with
names like GETARG, GET_COMMAND, GET_COMMAND_ARGUMENT, and
COMMAND_ARGUMENT_COUNT. Check your implementation for details.
For handling objects of type CHAR(*), check your Fortran text for the
standard functions. You might want to look up "array assignment" in the
index; '=' may be all you need.
- formerly david.thompson1 || achar(64) || worldnet.att.net</ot>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.