z80:Error Codes

From Learn @ Cemetech
Jump to: navigation, search

A list of Errors returned by JError.

Value of A Error
0 [Custom Error]
1 Overflow
2 Divide by 0
3 Singular Mat
4 Domain
5 Increment
6 Break
7 Nonreal Ans
8 Syntax
9 Data Type
10 Arguement
11 Dim Mismatch
12 Invalid Dim
13 Undefined
14 Memory
15 Invalid
16 Illegal Nest
17 Bound
18 Window Range
19 Zoom
20 Label
21 Stat
22 Solver
23 Singularity
24 No Sign Chng
25 Iterations
26 Bad Guess
27 Stat Plot
28 Tol Not Met
29 Reserved
30 Mode
31-35 Link
36  ?
37 Scale
38 Id Not Found
39 No Mode
40 Validation
41 Length
42 Application
43-44
45 Expired
46 Bad Address
47 Archived
48 Version
49 Archive Full
50 Variable
51 Duplicate
52 Date
53 UnknownCmd
54-127  ?

These are the error codes without a goto option. To have it, add 128 to the value of a.