User guide

eWON 500-2001-4001-4002 User Guide - Programming the eWON
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 169
9.3 Debug a BASIC program
To debug your basic program, you can use the "Script control" screen of the "Script setup" page that is described in chapter “The Script control
link” on page 72.
9.4 BASIC Errors Codes
These codes are returned in ONERROR:
Error Name Error Code
syntax error 0
'( or )' expected 1
no expression present 2
'=' expected 3
not a variable 4
invalid parameter 5
duplicate label 6
undefined label 7
THEN expected 8
TO expected 9
too many nested FOR loops 10
NEXT without FOR 11
too many nested GOSUBs 12
RETURN without GOSUB 13
Out of memory 14
invalid var name 15
variable not found 16
unknown operator 17
mixed string&num operation 18
Dim index error 19
',' expected 20
Number expected 21
Invalid assignment 22
Quote too long 23
Var or keyword too long 24
No more data 25
reenter timer 26
label not found 27
Operation failed 28
ENDIF expected 29
ENDIF without IF 30
ELSE without IF 31
Math error 32
IO Error 33
End of file 34
val in val 35
Table 102: