ERR_XX¶
Syntax | ERR_NC, ERR_NJ, ERR_OM, ERR_OR, ERR_BO, ERR_NO, ERR_NF, ERR_EX, ERR_IU, ERR_EF, ERR_DF, ERR_BN, ERR_TE, ERR_FF, ERR_BP, ERR_FE, ERR_XP, ERR_OV, ERR_NI, ERR_RO, ERR_BL |
Location | QL ROM |
These are logical functions which return either 0 or 1 if the corresponding error has occurred. Only one of them can have the value 1 at any time.
Function | Error Code |
---|---|
ERR_NC | NOT COMPLETE -1 |
ERR_NJ | INVALID JOB -2 |
ERR_OM | OUT OF MEMORY -3 |
ERR_OR | OUT OF RANGE -4 |
ERR_BO | BUFFER OVERFLOW -5 |
ERR_NO | CHANNEL NOT OPEN -6 |
ERR_NF | NOT FOUND -7 |
ERR_EX | ALREADY EXISTS -8 |
ERR_IU | IN USE -9 |
ERR_EF | END OF FILE -10 |
ERR_DF | DRIVE FULL -11 |
ERR_BN | BAD NAME -12 |
ERR_TE | TRANSMISSION ERROR -13 |
ERR_FF | FORMAT FAILED -14 |
ERR_BP | BAD PARAMETER -15 |
ERR_FE | FILE ERROR -16 |
ERR_XP | ERROR IN EXPRESSION -17 |
ERR_OV | ARITHMETIC OVERFLOW -18 |
ERR_NI | NOT IMPLEMENTED -19 |
ERR_RO | READ ONLY -20 |
ERR_BL | BAD LINE -21 |
NOTE 1
These functions are not affected by REPORT.
NOTE 2
On Minerva pre v1.98, the ERR_XX functions were returning 1 if any higher error had occurred!!
WARNING
The JS ROM version of ERR_DF had a bug which crashed the system when used. All later operating systems and Toolkit II, the THOR XVI, the Amiga-QL Emulator, TinyToolkit, and BTool fix this.
CROSS-REFERENCE
See Appendix for other languages.