User command: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Created page with "'''User commands'''<ref name="dal">[https://help.dyalog.com/18.0/index.htm#UserGuide/The%20APL%20Environment/User%20Commands.htm UI Guide – User Commands] – Dyalog APL...")
 
No edit summary
Line 5: Line 5:
APL user commands start with a right bracket, e.g., <source lang=apl inline>]yourcommand</source>.
APL user commands start with a right bracket, e.g., <source lang=apl inline>]yourcommand</source>.


In [[Dyalog APL]], many useful user commands are included into the distribution, e.g., <source lang=apl inline>]boxing on</source>, <source lang=apl inline>]plot</source>, etc.
In [[Dyalog APL]], many useful user commands are included into the distribution, e.g., <source lang=apl inline>]boxing on</source>, <source lang=apl inline>]plot</source>, etc. Special command <source lang=apl inline>] -?</source> allows to see a full list of user commands.


== External links ==
== External links ==

Revision as of 13:51, 9 August 2020

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


APL syntax [edit]
General Comparison with traditional mathematicsPrecedenceTacit programming (Train, Hook, Split composition)
Array Numeric literalStringStrand notationObject literalArray notation (design considerations)
Function ArgumentFunction valenceDerived functionDerived operatorNiladic functionMonadic functionDyadic functionAmbivalent functionDefined function (traditional)DfnFunction train
Operator OperandOperator valenceTradopDopDerived operator
Assignment MultipleIndexedSelectiveModified
Other Function axisBracket indexingBranchStatement separatorQuad nameSystem commandUser commandKeywordDot notationFunction-operator overloadingControl structureComment