next up previous contents index
Next: Initialization File Up: Customizing Previous: Logical Names   Contents   Index

User Defined Commands

SIC allows the user to define new command, by means of the DEFINE COMMAND command. The syntax is the following:

    DEFINE COMMAND Newcom "Old Command with arguments" [Help_File]
where NEWCOM is the name of the new command and HELP_FILE is an optional text file used to provide help about the command. Because DEFINE COMMAND does not provide any specific syntax to specify the use of the new command arguments, it is in practice used essentially to allow documented access to procedures, as for example in
    DEFINE COMMAND INPUT "@ PR:P_INPUT.GRAPHIC" PR:INPUT_GRAPHIC.HLP



Gildas manager 2014-07-01