next up previous contents index
Next: ACCEPT /LINE Up: ACCEPT Previous: ACCEPT /COLUMN   Contents   Index


ACCEPT /FORMAT

        Specify  a  fortran format to read the input file for command ACCEPT
    /ARRAY or ACCEPT /COLUMN. Mixing CHARACTER and NUMERIC  (REAL,...)   ar-
    rays is not available yet, and only one character array can be read at a
    time. Blank or commented lines are not skipped.

    Example:
        SIC> TYPE cities.dat
          Toulouse          1.111    11.11111
          Bordeaux          2.222    22.22222
          Grenoble          3.333    33.33333
          Marseille         4.444    44.44444
        (truncated)
        SIC> DEFINE CHARACTER CITY*16[44]
        SIC> DEFINE REAL X[44] Y[44]
        SIC> ACCEPT X Y /COLUMN "cities.dat" /LINE 4 /FORMAT "20x,F8.3,1x,F8.3"
        SIC> ACCEPT CITY /COLUMN "cities.dat" /LINE 4 /FORMAT "2x,A16"

    This option is invalid with /BINARY.


Gildas manager 2014-07-01