Runtime Error Codes
 
Runtime error codes and messages used by the runtime library.

Description

Freebasic returns the following runtime error codes:
0No error
1Illegal function call
2File not found signal
3File I/O error
4Out of memory
5Illegal resume
6Out of bounds array access
7Null Pointer Access
8No privileges
9interrupted signal
10illegal instruction signal
11floating point error signal
12segmentation violation signal
13Termination request signal
14abnormal termination signal
15quit request signal


No user error code range is defined. If Error is used to set an error code it is wise to use high values to avoid collisions with the list of built-in error codes. (This built-in list may be expanded later.)

See also