User command: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
The benefit of using user commands is that they can be executed without having to explicitly copy their code into the active workspace.<ref name="dal"/> | The benefit of using user commands is that they can be executed without having to explicitly copy their code into the active workspace.<ref name="dal"/> | ||
APL user commands start with a right bracket, e.g., < | APL user commands start with a right bracket, e.g., <syntaxhighlight lang=apl inline>]yourcommand</syntaxhighlight>. | ||
In [[Dyalog APL]], many useful user commands are included into the distribution, e.g., < | In [[Dyalog APL]], many useful user commands are included into the distribution, e.g., <syntaxhighlight lang=apl inline>]boxing on</syntaxhighlight>, <syntaxhighlight lang=apl inline>]plot</syntaxhighlight>, etc. Special command <syntaxhighlight lang=apl inline>] -?</syntaxhighlight> allows to see a full list of user commands. | ||
== External links == | == External links == | ||
=== Tutorials === | |||
* [[Adám Brudzewsky]]: [https://www.youtube.com/watch?v=EoF4sE4U9oQ live-programming APL: a new user command] | |||
=== Documentation === | |||
* [https://docs.dyalog.com/latest/User%20Commands%20User%20Guide.pdf Dyalog] | |||
== References == | |||
<references/> | <references/> | ||
Latest revision as of 18:52, 13 November 2022
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., ]yourcommand
.
In Dyalog APL, many useful user commands are included into the distribution, e.g., ]boxing on
, ]plot
, etc. Special command ] -?
allows to see a full list of user commands.
External links
Tutorials
Documentation
References