MAXIMUM RECORD LENGTHName:
The MAXIMUM RECORD LENGTH command can now be used to specify a maximum record length for data files. This record length can be any value between 132 (if you request a value less than 132, the maximum record length will be set to 132) and a maximum record length (currently set to 9999).
Also, the default maximum record length has been increased from 132 to 255.
If you specify a maximum record length greater than 255, you still need to enter a COLUMN LIMITS command to access those columns.
where <value> is a number or parameter between 132 and 9999 that specifies the desired maximum record length.
Entering AUTO, OM, OFF, or DEFAULT will reset the default value (255). Entering a question mark ("?") will print the current value and the default value for the maximum record length.
MAXIMUM RECORD LENGTH 132
MAXIMUM RECORD LENGTH DEFAULT
Some Fortran compilers allow you to up this limit when you open the file. However, this option is not part of the Fortran standard (and is not available on all Fortran compilers). For now, Dataplot does not use the maximum record length when opening the file. As we gain more experience with this capability, we may add the maximum record length when opening the data file.
This should rarely be an issue. The Fortran compiler limit, if it exists, tends to be rather large. Unless your data records exceed 750 columns, you are unlikely to run into this limitation.
DIMENSION 100 VARIABLES . . Write out some data with long records . LET XTEMP = SEQUENCE 1 1 20 LOOP FOR K = 1 1 50 LET X^K = K*XTEMP END OF LOOP . SET WRITE FORMAT (50f10.0) WRITE TEST.OUT X1 TO X50 . . Now, read them back in . MAXIMUM RECORD LENGTH 600 COLUMN LIMITS 1 600 RESET DATA READ TEST.OUT Y1 TO Y50
Date created: 2/13/2003