User commands are tools that are available at any time, in any workspace, as extensions to the Dyalog development environment.
New user commands are added periodically; see the end of this page for instructions on installing updates. For additional information on user commands, see the User Commands User Guide.
Basic Usage
]Boxing on
Was OFF
'Hello' (1 2 3)
┌→────┬─────┐
│Hello│1 2 3│
└────→┴~───→┘
For a summary of the user command syntax, enter ]Help (Dyalog version 16.0 and earlier) or ] (version 17.0 and later). Show available user commands
]?
83 commands:
ARRAY Compare Edit
CALC Factors FromHex PivotTable ToHex
EXPERIMENTAL DBuild DTest
FILE CD Collect Compare Edit Find Replace Split ToLarge ToQuadTS Touch
FN Align Calls Compare Defs DInput Latest ReorderLocals
MSWIN Assemblies Caption CopyReg FileAssociations GUIProps KeyPress Open ToHTML
NS ScriptUpdate Summary Xref
OUTPUT Box Boxing Disp Display Find Format Layout Rows
PERFORMANCE Profile RunTime SpaceNeeded
SALT Clean Compare List Load Refresh RemoveVersions Save Settings Snap
SPICE UUpdate
TOOLS ADoc Calendar Chart Demo Version
TRANSFER In Out
UCMD UDebug ULoad UMonitor UNew UReset USetup
WS Check Compare Document FindRefs FnsLike Locate Map NamesLike Nms
ObsLike Peek SizeOf VarsLike
Updates to Dyalog-supplied User Commands and to SALT
SALT (Simple Array Library Toolkit) supports the use of APL text-based source files, but has since been superseded by Link. See the history of source files as text in Dyalog in the Link documentation for more information.
User commands which come pre-installed with Dyalog are updated as part of SALT. These updates are provided as zip files that can be downloaded from the links below.
To update SALT and the Dyalog-supplied user commands in your installation, follow the instructions below:
- Identify the [DYALOG] installation directory by entering the following in a Dyalog Session:
⎕←2 ⎕NQ # 'GetEnvironment' 'DYALOG'
- Download the appropriate .zip file from the table below.
- On Microsoft Windows:
- Extract the contents of the .zip file to a temporary directory.
- Copy the newly-extracted SALT directory (with its files and subdirectores) to the [DYALOG] installation directory. If prompted you need to overwrite/replace existing files and directories. This might need administrator privileges.
- On all other operating systems:
In a terminal window, with root permissions:- Change directory to the [DYALOG] installation directory.
- Unzip the downloaded .zip file to this directory.
- In a Dyalog session, run
]UReset
user command to ensure that that all cached user command-related information has been updated.
APL Version | Date of Latest Update | Download Links |
---|---|---|
14.0, 14.1 and 15.0 | 2017-08-22 | salt_140-150.zip |
16.0 | 2018-04-23 | salt_160.zip |
17.0 | 2021-06-21 | salt_170.zip |
17.1 and 18.0 | 2021-11-03 | salt_171-180.zip |
18.2 | 2022-03-10 | salt_182.zip |
For earlier versions of Dyalog, please contact support@dyalog.com.