ERR
Returns the code of the most recent error that happened
Implemented by: decbasic, msatari, level2, colorenh, BBC, GWBASIC, MSX, bwbasic, bw32, QBasic, VBDOS, FreeBASIC
With variations: ti994ext (through CALL), ataplus (with 0 returns error code, with 1 returns error line), atxl (with 0 returns error code, with 1 returns error line)
Also written as:
Usage
Variations
With no apparent effect on its usage, ERR is documented not as a function, but as a system variable by GW-BASIC documentation.
Examples
Comments
Applesoft BASIC users do not have ERR; they can read the error code from memory with PEEK (222)
, at least on the Apple IIe 1).