User Command LOAD (Dyalog)
Overview
LOAD is a command used to bring in an object stored in a Unicode text file into the workspace.
LOAD is one of the SALT commands made into a user command.
Assumptions
The argument to load is a file path to the file where the object is stored. The path may be full or relative (including none). In the latter case LOAD will use the 'workdir' setting (see UserCommands/SALT/Settings doe details) to find the file.
Implementation
LOAD accepts a series of switches to alter its functionality:
-version=N will load specific version N
-target=NS will define the object in the NameSpace specified
-source will return the source of the object as opposed to the object itself (or a success message for functions)
-noname will return the namespace but not define it in the ws
-nolink will not keep track of the object source
-disperse will define the objects IN the namespace instead of THE namespace
Samples
]LOAD my\favorite\script -version=7
Version
This script is part of the Dyalog product. For that reason this page is immutable.
The script is version 1.0 from 2007
Author: DanBaronet
APL Wiki