The syntax of the NAMELIST statement is:
NAMELIST /group-name/namelist[[,]/group-name/namelist]...
Parameter |
Description |
group-name |
Name of group |
namelist |
List of variables or arrays, separated by commas |
See "NAMELIST" for details.
CHARACTER*18 SAMPLE LOGICAL*4 NEW REAL*4 DELTA NAMELIST /CASE/ SAMPLE, NEW, DELTA
A variable or array can be listed in more than one NAMELIST group.
The input data can include array elements and strings. It can include substrings in the sense that the input constant data string can be shorter than the declared size of the variable.