READ - namelist

READ - namelist

Read a file using a namelist.

UNIT=<value>
<value> specifies the unit number. The keyword and equals sign are optional if it is the first item in the specifier list.

NML=<namelist-group-name>
The keyword and equals sign are optional if it is the second item in the specifier list.

IOSTAT=<variable>
<variable> will contain zero if the operation was successful, otherwise a positive value to indicate an error, -1 to indicate EOF or -2 to indicate EOR.

ERR=<label>
<label> specifies a label to go to in the event of an error.

END=<label>
<label> specifies a label to go to on end of file.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited