System Command SI

From NARS2000
Jump to navigationJump to search

)SI - Show the State Indicator or workspace Status Indicator:

Example:

          )SI
Function2[7]   *
Function1[5]

In the above function, Function1 called Function2 at line 5 within Function1.  Then Function2 became suspended (note the *) at line 7 in Function2. Function1 does not have an asterisk next to it, so it is called a pendent or pending function - pending resolution or correction of Function2[7] line 7 - wherein APL's Interpreter was suspended or stopped. Note that the most recent interruption is listed at the top of the State Indicator stack. The topmost function is where an error occurred or processing was suspended/halted/a break occurred - and is where you or an APL system programmer needs to most closely scrutinize or debug the APL coding.


)SI lists user functions and operators (and their associated line numbers) in the current APL workspace state indicator with an asterisk(*) for all immediate execution expressions that were suspended.


)SI is useful for debugging purposes and as a reminder of where you the APL programmer or an APL user encountered an error. )SI is saved when the workspace is )SAVE'd and is available for the next APL/NARS user session.


System Commands (not case sensitive)
)CLEAR )CLOSE )COPY )DROP )EDIT )ERASE )EXIT )FNS )FOP )FOPS
)IN )INASCII )LIB )LOAD )NEWTAB )NMS )OFF )OPEN )OPS )OUT
)RESET )SAVE )SI )SIC )SINL )SYMB )ULIB )VARS )XLOAD )WSID


See Also
System Commands System Variables and Functions Operators


Keyboard
A+S
Alt ¨ ¯ < > × ÷
Sh ~ ! @ # $ % ^ & * ( ) _ +
Key ` 1 2 3 4 5 6 7 8 9 0 - =
A+S
Alt ? § π
Sh Q W E R T Y U I O P { } |
Key q w e r t y u i o p [ ] \
A+S
Alt
Sh A S D F G H J K L : "
Key a s d f g h j k l ; '
A+S χ
Alt
Sh Z X C V B N M < > ?
Key z x c v b n m , . /
NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x