| To: | pro64-support@xxxxxxxxxxx |
|---|---|
| Subject: | Re: IA 64 fortran compiler and getargs |
| From: | "Ross A. Towle" <rat@xxxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 14 Mar 2001 09:44:02 -0800 |
| In-reply-to: | Ole W Saastad <ole@xxxxxxxx> "IA 64 fortran compiler and getargs" (Mar 14, 8:58am) |
| References: | <3AAF24B5.225034B3@xxxxxxxx> |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
getarg and iargc are part of the Pro64 release 0.13.
-Ross
A snippet from the man page for them (man pages are being written)
subroutine getarg(i, c)
character*N c
integer*4 i
integer*4 function iargc()
integer j
call getarg(i, c)
j = iargc()
DESCRIPTION
getarg returns the i-th command-line argument of the current process.
iargc returns the index of the last argument.
foo arg1 arg2 arg3
getarg(2, c) would return the string ``arg2'' in the character variable
c.
iargc would return 3 as the value of the function call.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | IA 64 fortran compiler and getargs, Ole W Saastad |
|---|---|
| Next by Date: | Re: IA 64 fortran compiler and getargs, Dan Kidger |
| Previous by Thread: | IA 64 fortran compiler and getargs, Ole W Saastad |
| Next by Thread: | Re: IA 64 fortran compiler and getargs, Dan Kidger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |