
Here is a complete listing of error codes.

Code    Description                     Code    Description
------------------------------------------------------------------
  3     RETURN without GOSUB             54     Bad file mode
  4     Out of DATA                      55     File already open
  5     Illegal function call            56     FIELD statement active
  6     Overflow                         57     Device I/O error
  7     Out of memory                    58     File already exists
  9     Subscript out of range           59     Bad record length
 11     Division by zero                 61     Disk full
 14     Out of string space              62     Input past end of file
 16     String formula too complex       63     Bad record number
 19     No RESUME                        64     Bad file name
 20     RESUME without error             67     Too many files
 24     Device timeout                   68     Device unavailable
 25     Device fault                     69     Communication-buffer overflow
 27     Out of paper                     70     Permission denied
 39     CASE ELSE expected               71     Disk not ready
 40     Variable required                72     Disk-media error
 50     FIELD overflow                   73     Advanced feature unavailable
 51     Internal error                   74     Rename across disks
 52     Bad file name or number          75     Path/file access error
 53     File not found                   76     Path not found

