User Tools

Site Tools


apl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
apl [2021/12/03 06:56]
papa [Editor commands]
apl [2021/12/04 07:35] (current)
papa [APL Character Set]
Line 22: Line 22:
  
  
-===== APL Character Set With ASCII and Escape Mode Equivalents =====+===== APL Character Set =====
  
-//[For conveniencepart of the keyboard mapping table from **APLSF Language Manual** is duplicated below.]//+Although APL characters cannot be displayed or input when the terminal is in TTY modeAPLSF provides ASCII character string equivalents for all the APL characters as well as "escape mode" (single character preceded by "@") keys that correspond to standard APL keyboard mappings. ASCII and escape mode sequences can be intermixed.
  
 ^ APL \\ Character ^ Name ^ ASCII ^ Escape \\ Mode ^ ^ APL \\ Character ^ Name ^ ASCII ^ ^ APL \\ Character ^ Name ^ ASCII ^ Escape \\ Mode ^ ^ APL \\ Character ^ Name ^ ASCII ^
Line 69: Line 69:
 | _ | UnderScore | .US | @F | | _ | UnderScore | .US | @F |
 | ∪ | Up Union | .UU | @V | | ∪ | Up Union | .UU | @V |
 +
 +===== Workspace Commands =====
 +
 +|'')SAVE [//wsname//]''|Save workspace in file ''DSK://wsname//.APL''.|
 +|'')LOAD //wsname//''|Load saved workspace from file ''DSK://wsname//.APL''.|
 +|'')DROP //wsname//''|Delete saved workspace file ''DSK://wsname//.APL''.|
 +|'')CLEAR''|Clear active workspace.|
 +|'')FNS [//letter//]''|List functions in workspace (starting alphabetic list from //letter//).|
 +|'')VARS [//letter//]''|List global variables in workspace (starting alphabetic list from //letter//).|
 +|'')ERASE //name// ...''|Erase global variable or function //name// from workspace.|
  
 ===== Function Editor ===== ===== Function Editor =====
Line 74: Line 84:
 To define a new function and invoke the editor, enter one of the following commands: To define a new function and invoke the editor, enter one of the following commands:
  
-|''.DL[//r//_]//a1 f a2//[;//v//]...''|Define a dyadic (two-argument) function| +|''.DL[//r//_]//a1 f a2//[;//v//]...''|Define a dyadic (two-argument infix) function| 
-|''.DL[//r//_]//f a1//[;//v//]...''|Define a monadic (one-argument) function|+|''.DL[//r//_]//f a1//[;//v//]...''|Define a monadic (one-argument prefix) function|
 |''.DL[//r//_]//f//[;//v//]...''|Define a niladic (no-argument) function| |''.DL[//r//_]//f//[;//v//]...''|Define a niladic (no-argument) function|
  
apl.1638514566.txt.gz · Last modified: 2021/12/03 06:56 by papa