Dear Ross,
"Ross A. Towle" wrote:
>
> 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)
The functions getarg and iargc in pro-64 appear to be the same as on most Unix
platforms.
The question is which library are they in:
For example in the following code, f90 under Irix doesn't need a library to
resolve getarg and iargc, but I have never found how to lik to them on our
Troon boxes....
program test_command_line_args
integer :: i,nargs, iargc
character :: argument*30
nargs=iargc()
print*,' The ',narg,' arguments you gave were...'
do i=1,nargs
call getarg(i,argument)
print*,i,argument
enddo
end
Yours,
Daniel
-----------------------------------------------------------------------
Dr. Daniel Kidger | E: d.kidger@xxxxxxxxx
High Performance Computing Group | W: www.csar.cfs.ac.uk
Manchester Computing, University of Manchester, | T: +44 161 275 7038
Oxford Road, Manchester, M13 9PL, UK | F: +44 161 275 6800
--------------------Q: what's up ? A: X cross Z ---------------------
|