system commands: an apl backwater revisited  system commands have always had a very important role in, or, more accurately, just outside, the apl language. they are the pidgin dialect which provides communication between the clean, abstract world of pure apl and the often messy environment of the apl system which allows apl programs to be executed. despite their importance in the development and use of all apl applications, very little attention has been paid to them. they remain, in contrast to apl itself, ineffectual, irregular, and inconsistent. they have no regular syntax and return no usable result. there are two possible ways to deal with this situation. get rid of them, or make them better.  to date, most apl systems have been gradually implementing the first approach. one by one, system commands have been superseded by system functions and variables which do approximately the same thing. in the case of system variables such as &amp;square;io and &amp;square;rl whose values effect the actual results of calculations as implicit arguments, this change has properly moved the ability to set these parameters into the province of the language itself. in the case of the system functions, however, the move has blurred the useful distinction between the language and the host environment and introduced a most unattractive collection of obscure english words and abbreviations into a previously ideographic language.  by moving the english words out of apl and into the realm of system commands, we open up the possibility of having the actual words used be a function of some natural language selection facility such as &amp;square;nlt in ibm's apl2.  one of the problems with the &amp;square;-function approach is that apl functions take data arguments and return data results. this is, of course, what allows them to be used in ever more complex expressions. unfortunately, since the environmental constructs acted on by system functions are not data, the arguments and results of system functions often bear only slightly on the main action which is taken as a side effect.  another problem is that an apl function works within a certain name environment (workspace), and generally cannot affect things outside of that environment. as large applications increasingly tend to rely on cooperation between many different workspaces, the need to make extra- workspace adjustments to the environment has become apparent. this is especially true in analogic apl which is designed to facilitate the sharing of both functions and variables between workspaces.  starting a brand new implementation of apl is a great opportunity. we at analogic decided to take advantage of it by providing a better environment for our favorite language to run in. our approach was to leave the language proper alone (analogic is committed to strict adherence to the iso apl standard), but to rethink the way that apl applications interact with their environment. to take advantage of these enhancements, an applications programmer must set up a variety of links between different workspaces or name contexts. usually, this only needs to be done once at the time an application is put together. the exact mechanism, called threaded workspaces, is described elsewhere [1]. the important points for this discussion are that the actions generally need not be dynamic and that there are many variations in the details of the connections.  we decided that system functions were not the answer. doing as many things as we envisioned by using system functions would have entitled either an unacceptably large number of confusingly named &amp;squarel-functions; (like the 135 found in stsc apl*plus/pc) or unacceptably obscure arguments to a smaller number of &amp;square;-functions (like the left arguments of &amp;square;ws and &amp;square;fd in sharp apl).  system commands, many of which are already required by the iso standard, can provide the answer so long as they are given a regular and self-documenting syntax, and the universe of names visible to any command is expanded to include names in workspaces other than the one in which the command is invoked.  it should be understood that analogic apl is a work in progress. the ideas expressed here reflect the current state of the specification of analogic apl. details such as the names of individual fields are likely to change as we the implementation progresses and we gather experience.  michael j. a. berry