Differences between revisions 1 and 2
Revision 1 as of 2009-10-20 08:09:39
Size: 1008
Editor: KaiJaeger
Comment: Explain "User Commands" with links
Revision 2 as of 2009-10-20 13:21:17
Size: 1024
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
AplWinUserCommands CategoryAplWinUserCommands
Line 20: Line 20:
DyalogUserCommands CategoryDyalogUserCommands

UserCommands

User Commands got introduced decades ago into what is now APL+Win. In 2009, they became available in Dyalog as well.

The idea is that code which supports the development process but is not part of an application should be ...

  • kept separate from the workspace
  • available all day, even in a clear workspace

A typical example is the Display function available in all nested-array-capable APLs.

APL+Win used a opening square bracket to tell the interpreter to process what comes next as a User Command. Fortunately, Dyalog has choosen the same syntax.

Both, APL+Win as well as Dyalog (12.1 or better) are coming with several pre-defined ones, but of course the idea is to allow the ordinary user to add it's own User Commands. Naturally this is done in different ways, so User Commands written for one of them are not compatible with the other.

That's we you find to links here:

CategoryAplWinUserCommands

CategoryDyalogUserCommands

UserCommands (last edited 2012-07-15 13:37:05 by KaiJaeger)