GNU Info

Info Node: (g77-295.info)GetArg Intrinsic

(g77-295.info)GetArg Intrinsic


Next: GetCWD Intrinsic (subroutine) Prev: GError Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

GetArg Intrinsic
................

     CALL GetArg(POS, VALUE)

POS: `INTEGER'; scalar; INTENT(IN).

VALUE: `CHARACTER'; scalar; INTENT(OUT).

Intrinsic groups: `unix'.

Description:

   Sets VALUE to the POS-th command-line argument (or to all blanks if
there are fewer than VALUE command-line arguments); `CALL GETARG(0,
VALUE)' sets VALUE to the name of the program (on systems that support
this feature).

   Note: IArgC Intrinsic, for information on how to get the number of
arguments.


automatically generated by info2www version 1.2.2.9