next up previous contents index
Next: Table Format : Up: One-Dimensional Arrays X Y Previous: One-Dimensional Arrays X Y   Contents   Index

Formatted Files :

The input file must be organised in a Table-like way, with formatted numbers arranged in column and lines. GREG uses list-directed format to read this file, so that the numbers need only be separated by spaces, tabs or commas. However, a single complete logical line of the table must be contained in a logical record of the input file. Any column, and any range of lines, can then be accessed typing COLUMN X Nx Y Ny Z Nz [/FILE Infile] [/LINES Lmin Lmax]
where Nx is the column number from which the X buffer is to be read (resp. Ny and Nz), Infile is the input file name, and Lmin Lmax define the range of lines to select. By default, the last connected file is used. Changing the input file resets Lmin and Lmax to select the complete file. The order of the X Y Z keywords is not compulsory, and some may be missing ; however each keyword must be immediately followed by its associate column number. There is an implementation dependent limit (usually 50000) on the number of lines that can be read by one COLUMN command in a formatted file. To go over that limit, you can convert the formatted file to a table (usually a good idea), or work by pieces using /LINES.


next up previous contents index
Next: Table Format : Up: One-Dimensional Arrays X Y Previous: One-Dimensional Arrays X Y   Contents   Index
Gildas manager 2020-12-02