int e l 8.1 ERROR MESSAGES ARITH. UNDERFLOW If the result of an arithmetic operation exceeds the lower limit of an MCS BASIC-52 floating point number, an ARITH. UNDERFLOW ERROR will occur. The smallest floating point number in MCS BASIC-52 is +- 1E-127. For instance, 1E-80/1E + 80 would cause an ARITH. UNDERFLOW ERROR. ARITH. OVERFLOW If the result of an arithmetic operation exceeds the upper limit of an MCS BASIC-52 floating point number, an ARITH. OVERFLOW ERROR will occur. The largest floating point number in MCS BASIC-52 is +-.99999999E+127. For instance, 1E+70*1E+70 would cause an ARITH. OVERFLOW ERROR. DIVIDE BY ZERO A division by ZERO was attempted i.e.
12/0, will cause a DIVIDE BY ZERO ERROR. ILLEGAL DIRECT (VERSION 1.0 ONLY) Some statements, such as IF-THEN and DATA cannot be executed while the MCS BASIC-52 device is in the COMMAND MODE. If you attempt to execute one of these statements the message ERROR: ILLEGAL DIRECT will be printed to the console device. The ILLEGAL DIRECT ERROR is not trapped in Version 1.1 of MCS BASIC-52. ILLEGAL DIRECT ERRORS return a BAD SYNTAX ERROR in Version 1. 1. LINE TOO LONG (VERSION 1.0 ONLY) If you type in a line that contains more than 73 characters the message ERROR: LINE TOO LONG will be printed to the console device. MCS BASlC-52's input buffer can only handle up to 73 characters.
NOTE This error does not exist in Version 1.1. Instead the input buffer has been increased to 79 characters and MCS BASIC-52 will echo a bell character to the user terminal if too many characters are entered into the input buffer. NO DATA If a READ STATEMENT is executed and no DATA STATEMENT exists or all DATA has been read and a RESTORE instruction was not executed the message ERROR: NO DATA -- IN LINE XXX will be printed to the console device. - 97 -