BASIC Error Codes and Error Messages

CodeMessage
1NEXT without FOR
2Syntax error
3RETURN without GOSUB
4Out of DATA
5Illegal function call
6Overflow
7Out of memory
8Label not defined
9Subscript out of range
10Duplicate definition
11Division by zero
12Illegal in direct mode
13Type mismatch
14Out of string space
16String formula too complex
17Cannot continue
18Function not defined
19No RESUME
20RESUME without error
24Device timeout
25Device fault
26FOR without NEXT
27Out of paper
29WHILE without WEND
30WEND without WHILE
33Duplicate label
35Subprogram not defined
CodeMessage
37Argument-count mismatch
38Array not defined
40Variable required
50FIELD overflow
51Internal error
52Bad file name or number
53File not found
54Bad file mode
55File already open
56FIELD statement active
57Device I/O error
58File already exists
59Bad record length
61Disk full
62Input past end of file
63Bad record number
64Bad file name
67Too many files
68Device unavailable
69Communication-buffer overflow
70Permission denied
71Disk not ready
72Disk-media error
73Feature unavailable
74Rename across disks
75Path/File access error
76Path not found