next up previous contents index
Next: DEFINE DOUBLE Up: DEFINE Previous: DEFINE CHARACTER

   
DEFINE COMMAND

        DEFINE COMMAND  NAME "Equivalent command" [Help_File]

    defines a new SIC command. The new command will be  part  of  the  USER\
    language,  and  will  be  translated  into  its  equivalent  command  at
    execution time. Help_File is an optional argument indicating the name of
    the  associated  help  text.  The standard rules for help syntax applies
    (see SIC documentation for details).  User defined  commands  appear  in
    the  list of command displayed by HELP, and can be abbreviated as normal
    "program-defined" commands. For example
        DEFINE COMMAND INPUT "@ input.greg"  pr:inputeg.hlp
    define a new command USER\INPUT, which will execute procedure input.greg


Gildas manager
2001-04-18