System Variable LX: Difference between revisions

From NARS2000
Jump to navigationJump to search
(new)
 
No edit summary
Line 4: Line 4:


Example usage:
Example usage:
: {quad}LX{:=}'Start'
:<code> {quad}LX{:=}'Start'</code>


When this workspace is saved, the next time it is loaded, it will attempt to start the function '''Start'''. An error will occur if the function named in {quad}LX is not present when the workspace is loaded.
When this workspace is saved, the next time it is loaded, it will attempt to start the function '''Start'''. An error will occur if the function named in {quad}LX is not present when the workspace is loaded.

Revision as of 06:43, 23 February 2013

⎕LX - Latent Expression

The ⎕LX variable is used within a workspace to set the action to take when the workspace is loaded. Typically it is set to the name of a function in the workspace. ⎕LX defaults to null.

Example usage:

⎕LX←'Start'

When this workspace is saved, the next time it is loaded, it will attempt to start the function Start. An error will occur if the function named in ⎕LX is not present when the workspace is loaded.


System Variables (A value may be assigned to these except for ⎕DM)
ALX CT DM DT ELX FC FEATURE FPC IC IO
LR LX PP PR PW RL SA WSID
Niladic System Functions (a value cannot be assigned to these)
A AV EM ET LC NNAMES NNUMS SI SYSID SYSVER
T TC TCBEL TCBS TCESC TCFF TCHT TCLF TCNL TCNUL
TS WA
Monadic or dyadic system functions (a value cannot be assigned to these)
AT CR DC DFT DL DR EA EC ERROR ES
EX FMT FX MF NAPPEND NC NCREATE NERASE NINFO NL
NLOCK NREAD NRENAME NREPLACE NRESIZE NSIZE NTIE NUNTIE STOP TF
TRACE UCS VR
Note that quad functions and variables (except for the ⎕A family of functions) are case insensitive