GLBasic User Manual

Main sections

GETLASTERROR$()

error$ = GETLASTERROR$()



Returns an error code followed by a short text message describing the last error that occurred.

Following the defined error codes:

0 success
3 file does not exist
4 wrong argument
5 string is too long
7 not enough memory
8 wrong dimension
9 out of dimesioned range (makes the program end)
20 no more data available

See also NETGETLASTERROR$()

See also...