| Article ID: | T56 |
| Date: | 12/07/00 |
| Product: | SPEL for Windows 2.0 (all versions) |
| Problem: | Errors 24 and 2 occur after executing Return in error handler |
Symptoms
When an error handler is executed for certain
errors and Return is executed, the error handler is called again for error
24.
The following program will print error 78 because point P0 is not
defined. Then error 24 will occur when Return is executed and error 24
will be printed.
Function main
OnErr eHandler
Go
P0
End
eHandler:
Print Err(0)
EClr
Return
Fend
Statements that require a point for an argument will exhibit this
behavior, including Jump, Go, Move, etc. When using one of the coordinate
functions (CX, CY, CZ, CU), you will receive both error 2 and error 24.
Causes
This is a
bug in the SRC-3xx controller firmware.
Remedies
You can ignore error 24 and error 2 in your error
handler.
Status
This problem will be fixed in a future
version.
