next up previous contents index
Next: FIND Up: CLIC Language Internal Help Previous: DUMP   Contents   Index


        CLIC\FILE [type] [name] [NEW] [/WINDOW]

    Selects the input and output files.

    FILE IN Name            defines the input file.
    FILE OUT Name [NEW]     defines the output file, and
                            initializes it if NEW is precised.
    FILE BOTH Name          selects the same file for input and output.

    The default filename extension is ".hpb". With FILE  IN,  the  extension
    ".ipb"  is also checked. This behaviour can be changed using the command
    SET EXTENSION. The character variable SHORT_FILE is  available  after  a
    FILE  IN: it contains the file name without directory or extension. With
    option /WINDOW (if the windowing system is active), a  panel  window  is
    created  and the file name may be selected via a file browser ('Name' is
    then used as a filter). Pressing GO will then open the file.

        CLIC\FILE RAW [project] [date] [/WINDOW] [/DIRECTORY]

    FILE RAW [Project] [Date] will select the first file residing in the di-
    rectories  IPB_DATA:, IPB_DATA1:, ..., IPB_DATA9:, which matches the op-
    tionally given project name and date, following the standard  name  con-
    vention  used  at Plateau de Bure (jj-mmm-yyyy-proj.ipb, or YMJJPROJ.IPB
    for CDROMs). The names of all the NFILE files matching the project  name
    and  date  are put in character array DATAFILE[NFILE] (the integer vari-
    able NFILE is also defined).

    FILE RAW [Project] [Date] /WINDOW (if the windowing  system  is  active)
    will  create  a  panel window with a menu to select one of the available
    files, and two action buttons, one for opening the file, the  other  for
    creating a header file for calibration.

    FILE  RAW /DIRECTORY (if the windowing system is active) creates a panel
    window with a menu to edit the list of raw data file directories  (logi-
    cal names IPB_DATA:, IPB_DATA1:, ...)

Gildas manager 2014-07-01