User`s manual

CHAPTER 3 PROGRAMMING REFERENCE
39
3.4.21. ERRPTR
Purpose :
This command assigned variables for error number and count of string bytes.
Offset:
ERRPTR%=60
Syntax :
CALL ERRPTR%(IOERR%,IOCOUNT%) ----BASIC
CALL ABSOLUTE(IOERR%,IOCOUNT%,ERRPTR%) ----BASIC Compiler
Parameter :
IOERR% - Variable which represents the error number of last called
command.
IOCOUNT% - Variable which represents the count of string bytes that are
outputed or entered.
Bus Activity :
None.
Remark:
This command must be executed before calling any other t~command except the
“INIT” command.
ERROR NUMBER ERROR TYPE
0 No error
1 Handshake timeout
2 Interface error
3 Call ABORT when non-system controller
4 Invalid passed parameter(s)
See the STATUS command (condition 8) for other information.