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

FILE

 

        CLIC\FILE [Type] [Name] [NEW] [SHARED] [/WINDOW] [/DIRECTORY]

    Selects the input and output files.
    FILE IN name            defines the input file
    FILE OUT name [NEW]     defines the output file ;
                            initializes a file if NEW is precised.
    FILE BOTH name          selects the same file for input and output.
    FILE RAW [proj] [date]  open a raw data file
    The default extension can be specified using command SET EXTENSION (.ipb
    is recommended for files containing data, .hpb for files containing only
    headers).

    If the 'Type' is not RAW, 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.

    FILE RAW [proj] [date] will  select  the  first  file  residing  in  the
    directories   IPB_DATA:,   IPB_DATA1:,  IPB_DATA2:,  ...  following  the
    standard name convention used at Plateau de Bure  (jj-mmm-yyyy-proj.ipb,
    or  YMJJPROJ.IPB for CDROMs), which matches the optionally given project
    name and date. The names of all the NFILE  files  matching  the  project
    name  and  date  are put in character array DATAFILE[NFILE] (the integer
    variable NFILE is also defined).

    With RAW and option /WINDOW (if the windowing system is active), a panel
    window  is created 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.

    With RAW and options /WINDOW and /DIRECTORY (if the windowing system  is
    active), a panel window is created with a menu to edit the list raw data
    file directories (logical names IPB_DATA:, IPB_DATA1:, ...)

    The character variable SHORT_FILE  is  available  after  FILE  IN  :  it
    contains the file name without directory or extension.


    On VAX-VMS, FILE IN Name PATCHED will convert the file to VMS format (if
    it was created under  another operating system).


lucas@iram.fr