next up previous contents index
Next: DEFINE ALIAS Up: SIC Language Internal Help Previous: CONTINUE   Contents   Index


DEFINE

        [SIC\]DEFINE Type Var1 [Keys...] [Var2  [Keys...]  [...]]  [/GLOBAL]
    [/LIKE VarLike]

    If  Type is FUNCTION, define a user-function. If Type is COMMAND or LAN-
    GUAGE, define a new user command or  language  respectively.  Otherwise,
    define new variables of the specified type. Type can then be REAL, INTE-
    GER, DOUBLE (for double precision real values), LOGICAL,  CHARACTER,  or
    TABLE, HEADER, IMAGE, UVTABLE, STRUCTURE, FITS or ALIAS. By default, new
    variables are LOCAL, i.e. valid only within the current  macro  and  all
    loops  or  interactive  levels  called  by  this macro. When the /GLOBAL
    switch is specified, the variables are valid at all levels. Local  vari-
    ables are examined before global variables.


Subsections

Gildas manager 2014-07-01