READ:scalars

record_skipping

 A scalar appended to the file name, file\n, specifies the starting
 record. The first n-1 records will be skipped.

ASCII

 Syntax: READ\SCALARS file{\n} s1{\c1} { s2{\c2} ... } 
         READ\SCALARS\FORMAT file{\n} (frmt) s1 { s2 ... } 
 Qualifiers: \FORMAT, \CONTINUE, \CLOSE, \MESSAGES
 Defaults: \-FORMAT, \-CONTINUE, \-CLOSE, \MESSAGES, cI = I

 By default, or if the \ASCII qualifier is used, the file is assumed to be
 an ASCII file, and the first record is read. Specify which record to read
 by appending a scalar to the file name as a qualifier, e.g., file\n. By
 default, no scalars will be created if an invalid field is encountered
 while reading.

Additional Information on:

  • number_field
  • FORMAT
  • ERRFILL
  • example
  • UNFORMATTED

     Syntax: READ\SCALARS\UNFORMATTED file{\n} (frmt) s1 { s2 ... } 
     Qualifiers: \CONTINUE, \CLOSE, \MESSAGES
     Defaults: \-CONTINUE, \-CLOSE, \MESSAGES
    
     If the \UNFORMATTED qualifier is used, the file is assumed to be an
     unformatted binary file.  By default, the first record is read. Specify
     which record to read by appending a scalar to the file name as a
     qualifier, e.g., file\n. No scalars will be created if an invalid field
     is encountered while reading. The (frmt) paramter is a prescription that
     specifies how the record is to be read and is required when the
     \UNFORMATTED qualifier is used. The prescription must be enclosed in
     parenthesis, ( and ). The codes R4, R8, I1, I2, I4, L1, L4, Xn  indicate
     the data type and the number of bytes for each value in the record. The
     Xn code is used to skip over n bytes. All values are converted to REAL*8
     for internal storage.
    

    Additional Information on:

  • examples