INCLAN: command: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
Line 3: Line 3:
'''command''' ''name''
'''command''' ''name''


''sequence of statements''
== Description ==
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.
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.

Revision as of 13:46, 13 August 2009

Synopsis

command name

Description

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.