READ:scalars:ASCII

number_field

 Syntax: READ\SCALARS file{\n} s1{\c1} { s2{\c2} ... } 

 By default, the I_th number field is placed into scalar sI. The field
 number can be specified by appending a scalar, cI, to the scalar name
 as a qualifier. In this case, the cI_th field can be placed into the
 sI scalar. For example, after the command:
   READ\SCALARS DUM.DAT W\2 X\4 Y Z\1
 W would contain field 2, X would contain field 4, Y would default to
 field 3, and Z would contain field 1.

FORMAT

 Syntax: READ\SCALARS\FORMAT file{\n} (frmt) s1 { s2 ... } 

 The \FORMAT qualifier must be used to indicate that a format is
 present. The format must be enclosed in parentheses, ( and ).

 If a format is used, field numbers cannot be specified.

 Standard FORTRAN formats are valid, but only REAL variables can be
 read, so do not use INTEGER, LOGICAL or CHARACTER formats.
 All values are converted to REAL*8 for internal storage.

ERRFILL

 \ERRFILL cannot be used with a format.

 If the \ERRFILL qualifier is used, an invalid field causes the invalid
 field to be set to ERRFILL.  By default, ERRFILL=0, but it's value can
 be changed/obtained with the SET/GET command.

example

  file: DUM.DAT
  -------------------
  1  23.7   0.1000E-5
  2 -31.4   0.2000E-3
  3   9.09  0.3000E-1

 READ\SCALARS DUM.DAT A B        READ\SCALARS DUM.DAT A\3 B
 results in:  A = 1, B = 23.7    results in:  A = .000001, B = 23.7

 READ\SCALARS DUM.DAT\3 A B      READ\SCALARS DUM.DAT\2 A\3 B
 results in:  A = 3, B = 9.09    results in:  A = .0002, B = -31.4

 READ\SCALARS\FORMAT DUM.DAT (2X,F8.4,E9.4) A B
 results in:  A = 23.7, B = .000001