1 Language
                         GUI\ Command Language Summary

    BUTTON : Associate a command with a button
    END    : Read parameters from window and set variables accordingly
    GO     : Activate the currently defined window
    MENU   : Create a pulldown menu for next buttons
    SUBMENU: Create a submenu in the current menu
    PANEL  : Define or delete an input window or menubar
    WAIT   : Wait for GO button in the current window
    URI    : Open any kind of URI, e.g. html link or file name.
1 BUTTON
        GUI\BUTTON "Command" Button ["Title" HelpFile [OptionTitle]]
                        (Graphic-User-Interface mode only)

    Creates a button widget to execute the specified "Command".

    If  no  "Title"  is given, the button will have no associated variables,
    and will appear with other similar buttons at the top of the window.

    If a "Title" argument is present, a  "secondary  parameters"  window  is
    created.  In the main window, the "title" appears followed by 3 buttons:
    one with the button name, one pointing to the secondary parameters  win-
    dow,  and  a "HELP" button. All subsequent LET commands will create wid-
    gets in this secondary window, until a new GUI\BUTTON command is  typed.
    "HelpFile" specifies a text file where the help for the variables can be
    found, and "OptionTitle" is a title for the secondary window (and  asso-
    ciated button).
1 END
        GUI\END

    Reads  all  parameters  from  the current window(s) and set the modified
    variables accordingly. Normally reserved for programming applications.
1 GO
        GUI\GO ["Command"]

    Map the windows defined by the previous GUI\PANEL command and its  asso-
    ciated  GUI\BUTTON and LET commands. "Command" is an optional command to
    be executed when button "GO" is pressed.
1 MENU
        GUI\MENU "Title" [/CLOSE] [/CHOICES]

    Creates a pulldown menu to group a set of buttons without associated pa-
    rameters.  Subsequent GUI\BUTTON or GUI\URI commands will add buttons in
    the pulldown menu.

    When option /CLOSE is present, closes the current pulldown menu.  Subse-
    quent  GUI\BUTTON  or  GUI\URI  commands will create buttons on the main
    menubar.

    This command is valid only when creating a detached menubar, i.e.  after
    a GUI\PANEL/DETACH command has been typed.
1 SUBMENU
        GUI\SUBMENU "Title" [/CLOSE]

    Create  a  new  submenu  in  the  current menu. Subsequent GUI\BUTTON or
    GUI\URI commands will add buttons in this submenu.

    When option /CLOSE is invoked, closes the  current  submenu.  Subsequent
    GUI\BUTTON or GUI\URI commands will create buttons in the parent menu.
1 PANEL
        GUI\PANEL "Title" HelpFile [/DETACH] [/LOG LogFile]
        GUI\PANEL [HelpFile] /CLOSE

    Activate  the  Graphic-User-Interface input mode for variables. A window
    with the specified title is created, but not mapped to the screen.  Suc-
    cessive LET commands will create widgets in this window to allow to mod-
    ify variables by entering values in the widgets.  Command  GUI\GO  "Com-
    mand"  will map the window to the screen. Once the proper input has been
    defined, clicking on the "GO" button will setup all  the  related  vari-
    ables  in the main program, and execute the associated command. Clicking
    on button "UPDATE" will only set  the  variables.   Clicking  on  button
    "ABORT" will return without modifying the variables.

    Help  is  available  in  the  window through the "HELP" button, but also
    clicking in any prompt area.

    See LET command for details.

    If option /DETACH is present, a menubar is created instead of  a  normal
    window.  Several  buttons  can  be  attached  to  this menubar using the
    GUI\BUTTON and GUI\MENU commands, but no variables can be  set  in  this
    mode. The menubar is mapped when command GUI\GO is typed.

    If option /CLOSE is present, the last detached menubar, or the specified
    one, is deleted.

    /LOG option stores variable definitions in specified log file.
1 WAIT
        GUI\WAIT

    Wait for button "GO" "UPDATE" or "ABORT" to be pressed. The command mon-
    itor  stays  in hold state until one of these buttons in the main window
    are pressed.
1 URI
        GUI\URI

    Open any kind of URI (Uniform Resource Identifier), e.g.  html  link  or
    file names, for example:
      GUI\URI  "http://www.iram.fr/IRAMFR/GILDAS/"  "GILDAS Web Page"
      GUI\URI  gag_doc:pdf/gildas-intro.pdf         "GILDAS Introduction"

    The choice of the software used to open the URI is let as much as possi-
    ble to the system (which should itself honor the user's preferences).
1 ENDOFHELP



























