Engine error list

The SAFE X3 engine manages exception errors that can be handled by the Onerrgo and Resume instructions. The variable errn contains the error code according to the following table:

Error codeExplanation
1A closing bracket is missing (happens on evalue)
2An opening bracket is missing (happens on evalue)
3A comma is missing (happens on evalue)
4Function unknown (happens on evalue)
5Illegal character (happens on evalue)
6Nonexistent variable
7Nonexistent class
8Index incorrect
9No current field
10Incompatible type
11Negative root for a number
12Error in trigonometric calculation
13Calculation capacity exceeded
14Logarithm for a negative number
15Hyperbolic trigonometric error
16Error in the factorial calculation
17Negative index
18Incorrect label number
19File type incorrect
20Nonexistent file
21Key does not exist in this table
24Error in sequential file management
25System error
26Internal error
27Problem with access to a file
28Opening of a single table two times
29Too many tables open
30Incorrect table associated with mask
31No more memory available
32Return does not correspond to a Gosub
33Function not implemented
34Error in variable creation
35The rank is not a grid (Mask)
36Nonexistent window (Window)
37Two masks with same abbreviation
38Too many processes or procedures in process
39Nonexistent label
40Error in write to file
41Step value null
42Too many masks open
43Table locked
44No more space on the disk
47Nonexistent mask
48No transaction underway
49There is already a transaction in process
50Function not defined for the given value
51Error in DCB management
52ERROR log(0)
53Division by 0 error
55Too many dimensions
56Error - date incorrect
61Variable already exists
62Non modifiable variable
63Cannot access exclusive opening
64Nonexistent processes
65File size limit exceeded
66Incorrect file name
69Incorrect number of parameters
70Incompatible parameter type
71Unable to close file during a transaction
73Nonexistent folder
75Oracle error
76SQL Server error
78Error on transaction file
79Too many opened windows
81Nonexistent field
84Object already exists

Note that all errors related to Masks or Windows can only occur in Classic pages.