Differences between revisions 3 and 4
Revision 3 as of 2009-10-20 19:39:37
Size: 1030
Editor: KaiJaeger
Comment:
Revision 4 as of 2009-10-21 18:51:31
Size: 1028
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:

That's we you find to links here:
That's why you find two links here:

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 why you find two links here:

CategoryAplWinUserCommands

CategoryDyalogUserCommands


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