INCLAN: command: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Usage: subroutine ''name'' ''sequence of statements'' end command ''name'' ''sequence of statements'' end command The statements …') |
No edit summary |
||
Line 1: | Line 1: | ||
== Synopsis == | |||
'''command''' ''name'' | |||
''sequence of statements'' | |||
end | |||
command | |||
defines a new globally visible user-defined command within a macro, i.e. a macro within a macro. User-defined commands defined by '''command''' statements are called by their ''name'', possibly followed by parameters, in exactly the same way as macros. Within a macro, a user-defined command can only be called after it was defined. The statement ''command'' without parameters gives a list of all user-defined commands, and indicates where they are defined. | |||
within a macro, i.e. a macro within a macro. User-defined commands defined | |||
by | |||
the same way as macros. Within a macro, a user-defined command can only be | |||
called after it was defined. | |||
The statement | |||
commands, and indicates where they are defined. |
Revision as of 13:45, 13 August 2009
Synopsis
command name
sequence of statements end command
defines a new globally visible user-defined command within a macro, i.e. a macro within a macro. User-defined commands defined by command statements are called by their name, possibly followed by parameters, in exactly the same way as macros. Within a macro, a user-defined command can only be called after it was defined. The statement command without parameters gives a list of all user-defined commands, and indicates where they are defined.