next up previous contents index
Next: SYNTAX Up: SIC Language Internal Help Previous: SIC

   
SYMBOL

        [SIC\]SYMBOL [X ["Translation"]] [/INQUIRE "Prompt Text"]

    This commands defines, lists and deletes symbols.

        SYMBOL     Lists the Symbol table

        SYMBOL X   Gives the translation of the symbol X

        SYMBOL X "Translation"   Define a new symbol or update the precedent
    symbol definition.

        SYMBOL X  /INQUIRE "Prompt Text"   Inquires  the  definition  of   a
    symbol with the specified prompt (for interactive session only).

    A symbol  is  an  abbreviation  of  any  character  string.  The  symbol
    translations  are substituted to the corresponding symbols when found in
    a command line. In a command  line,   symbol  TOTO  must  appear  inside
    simple  quotes  (like  'TOTO')  to  be  translated,  except for the line
    beginning where SIC assumes the first word might be a symbol.  A  symbol
    definition may refer to another already defined symbol. The substitution
    occurs everywhere, even within the character strings.

    Symbols can be deleted when they are no longer  usefull,  using  command
    DELETE /SYMBOL.


Gildas manager
2001-04-18