HP Fortran Programmer's Guide (B3908-90031; September 2011)
Writing HP-UX applications
Accessing command-line arguments
Chapter 7176
$ f90 get_args.f90
$ a.out perambulation of a different sort
this program produces the following output:
13
perambulation
5
For more information about the IGETARG and IARGC intrinsics, see the HP Fortran Programmer's
Reference. GETARGC is also available as a libU77 routine; see the HP Fortran Programmer's Reference.