System Variable ELX: Difference between revisions

From NARS2000
Jump to navigationJump to search
(add template)
(new)
Line 1: Line 1:
<h1>{quad}ELX - Error Latent Expression</h1>
{{BoxStart|⎕ELX
| Set action to take on error}}
{{BoxEnd|⎕ELX←'<i>string</i>'}}
This system variable takes a string. That string is executed when the interpreter encounters an error.
This system variable takes a string. That string is executed when the interpreter encounters an error.
In particular the string may...
In particular the string may...

Revision as of 03:42, 28 February 2013

⎕ELX - Error Latent Expression

⎕ELX Set action to take on error
⎕ELX←'string'

This system variable takes a string. That string is executed when the interpreter encounters an error. In particular the string may...

  • call a function
  • jump to a particular label

Note that ⎕ELX can be localized and set dynamically to whatever it needs to deal with errors appropriately.

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