User command
Revision as of 10:41, 11 September 2022 by Adám Brudzewsky (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
User commands[1] or user-defined commands[2] are a way for a user to introduce new commands in addition to system commands.
The benefit of using user commands is that they can be executed without having to explicitly copy their code into the active workspace.[1]
APL user commands start with a right bracket, e.g., <source lang=apl inline>]yourcommand</syntaxhighlight>.
In Dyalog APL, many useful user commands are included into the distribution, e.g., <source lang=apl inline>]boxing on</syntaxhighlight>, <source lang=apl inline>]plot</syntaxhighlight>, etc. Special command <source lang=apl inline>] -?</syntaxhighlight> allows to see a full list of user commands.
External links