HP 3000 Manuals

NAMELIST Statement (Nonexecutable) [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

NAMELIST Statement (Nonexecutable) 

The NAMELIST statement defines a list of variables or array names and
associates that list with a unique group-name.  The group-name can then
be used in namelist-directed I/O to define the variables or arrays to be
read or written.

[]
------------------------------------------------------------------------------------------------ | | | | | Item | Description/Default | Restrictions | | | | | ------------------------------------------------------------------------------------------------ | | | | | namelist_group_name | Symbolic name for the variables | None. | | | or arrays to be read or written | | | | in namelist-directed I/O. | | | | | | ------------------------------------------------------------------------------------------------ | | | | | variable | List of variables or array names | Array elements, assumed-sized | | array_name | separated by commas, that are | arrays, adjustable arrays, record | | | associated with the preceding | references, and character | | | namelist_group_name. | substrings are not permitted. | | | | | ------------------------------------------------------------------------------------------------ The namelist variables or arrays can be of any data type and can be explicitly or implicitly typed. A variable or array name can appear more than one namelist. It is not necessary that an input record be read in for every entity in an associated namelist. However, input of variables names not found in the namelist is an error. Records are written in the order they appear in the namelist. Example Notes --------------------------------------------------------------------------------------- INTEGER I,K(30) This NAMELIST statement specifies two group CHARACTER*20 A names, FOO and BOO. NAMELIST /FOO/I,K,A/BOO/A,I See "Namelist-Directed Input/Output" for further information about namelist-directed I/O.


MPE/iX 5.0 Documentation