Remote-processing BASIC for the CX-10 Modbus Manual de usuario Pagina 82

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 84
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 81
BASIC PROGRAMMING GUIDE
C-1
APPENDIX A- ERROR MESSAGES
ThePBASIC-52 error processor helps identify errors.
When running a program, error messages are expressed as:
ERROR: XXX - IN LINE NNN
NNN Instruction
_______X
where XXX is the type of error and NNN is the program line number where the error occurred. The "______X"
identifies the very approximate location of the error. For example, a BAD ARGUMENT error occurring at line
100 is expressed as:
ERROR: BAD ARGUMENT - IN LINE 100
100 DBY(257)=5
_____________________X
In Command mode, only the error type is printed since there are no line numbers in Command mode.
BASIC-52 errors include:
A-STACK
ARITH. UNDERFLOW
ARITH. OVERFLOW
ARRAY SIZE
BAD ARGUMENT
BAD SYNTAX
C-STACK
CAN'T CONTINUE
DIVIDE BY ZERO
I-STACK
MEMORY ALLOCATION
NO DATA
HARDWARE
A-STACK
The argument stack pointer is out of bounds. Too many expressions were pushed or tried to pop non-existent data
off the stack.
ARITH. UNDERFLOW
The result of an arithmetic operation is beyond the lower limit of BASIC-52 floating-point numbers. BASIC-52's
smallest floating-point number is ±1E-127. An operation such as 1E-100/1E28 would cause an ARITH.
UNDERFLOW error.
This example produces a correct result:
>?1e-100/le26
1.0 E-126
Vista de pagina 81
1 2 ... 77 78 79 80 81 82 83 84

Comentarios a estos manuales

Sin comentarios