◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The following table lists all of the BASIC errors that you can trap. Code Message ║ Code Message ║ 1 NEXT without FOR ║ 52 Bad file name or number 2 Syntax error ║ 53 File not found 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 8 Label not defined ║ 59 Bad record length 9 Subscript out of range ║ 61 Disk full 10 Duplicate definition ║ 62 Input past end of file 11 Division by zero ║ 63 Bad record number 12 Illegal in direct mode ║ 64 Bad file name 13 Type mismatch ║ 67 Too many files 14 Out of string space ║ 68 Device unavailable 16 String formula too complex ║ 69 Communication-buffer overflow 17 Cannot continue ║ 70 Permission denied 18 Function not defined ║ 71 Disk not ready 19 No RESUME ║ 72 Disk-media error 20 RESUME without error ║ 73 Feature unavailable 24 Device timeout ║ 74 Rename across disks 25 Device fault ║ 75 Path/File access error 26 FOR without NEXT ║ 76 Path not found 27 Out of paper ║ 80 Feature removed 29 WHILE without WEND ║ 81 Invalid name 30 WEND without WHILE ║ 82 Table not found 33 Duplicate label ║ 83 Index not found 35 Subprogram not defined ║ 84 Invalid column 37 Argument-count mismatch ║ 85 No current record 38 Array not defined ║ 86 Duplicate value for unique index 40 Variable required ║ 87 Invalid operation on null index 50 FIELD overflow ║ 88 Database needs repair 51 Internal error ║ 89 Insufficient ISAM buffers -♦-