B.2 BASIC Run-Time Errors by Number
The following table shows the run-time errors by their
number and gives an explanation of each error.
Error
Number Explanation
Error
Number Explanation
10 PROVIO, Protection violation
11 ENDFILDEV, End of file on device
12 FATSYSIO_, Fatal system I/O failure
14 DEVHUNWRI, Device hung or write locked
15 KEYWAIEXH, Keyboard wait exhausted
18 ILLSYSUSA, Illegal SYS( ) usage
28 PROC_ _TRA, Programmable ^C trap
29 CORFILSTR, Corrupted file structure
31 ILLBYTCOU, Illegal byte count for I/O
35 MEMMANVIO, Memory management violation
42 VIRBUFTOO, Virtual buffer too large
43 VIRARRDIS, Virtual array not on disk
45 VIRARROPE, Virtual array not yet open
46 ILLIO_CHA, Illegal I/O channel
47 LINTOOLON, Line too long
48 FLOPOIERR, Floating point error or overflow
49 ARGTOOLAR, Argument too large in EXP
50 DATFORERR, Data format error
51 INTERR, Integer error
52 ILLNUM, Illegal number
53 ILLARGLOG, Illegal argument in LOG
54 IMASQUROO, Imaginary square roots
55 SUBOUTRAN, Subscript out of range
56 CANINVMAT, Can't invert matrix
57 OUTOF_DAT, Out of data
58 ON_STAOUT, ON statement out of range
59 NOTENODAT, Not enough data in record
61 DIVBY_ZER, Division by 0
63 FIEOVEBUF, FIELD overflows buffer
64 NOTRANACC, Not a random access device
Error
Number Explanation
66 MISSPEFEA, Missing special feature
67 ILLSWIUSA, Illegal switch usage
72 RETWITGOS, RETURN without GOSUB
73 FNEWITFUN, FNEND without function call
88 ARGDONMAT, Arguments don't match
89 TOOMANARG, Too many arguments
97 TOOFEWARG, Too few arguments
101 DATTYPERR, Data type error
102 ONEOR_TWO, One or two dimensions only
103 PROLOSSOR, Internal error in VAX Run-Time Library.
Please submit an SPR.
104 RESNO_ERR, RESUME and no error
105 REDARR, Redimensioned array
116 PRIUSIFOR, PRINT-USING format error
122 ILLFIEVAR, Illegal FIELD variable
123 STO, Stop
124 MATDIMERR, Matrix dimension error
126 MAXMEMEXC, Maximum memory exceeded
127 SCAFACINT, SCALE factor interlock
128 TAPRECNOT, Tape records not ANSI
129 TAPBOTDET, Tape BOT detected
130 KEYNOTCHA, Key not changeable
131 NO_CURREC, No current record
132 RECHASBEE, Record has been deleted
133 ILLUSADEV, Illegal usage for device
134 DUPKEYDET, Duplicate key detected
136 ILLILLACC, Illegal or illogical access
137 ILLKEYATT, Illegal key attributes
138 FILIS_LOC, File is locked
139 INVFILOPT, Invalid file options
141 ILLOPE, Illegal operation
Error
Number Explanation
142 ILLRECFIL, Illegal record on file
143 BADRECIDE, Bad record identifier
144 INVKEYREF, Invalid key of reference
145 KEYSIZTOO, Key size too large
146 TAPNOTANS, Tape not ANSI labelled
147 RECNUMEXC, RECORD number exceeds maximum
148 BADRECVAL, Bad RECORDSIZE value on OPEN
149 NOTENDFIL, Not at end of file
150 NO_PRIKEY, No primary key specified
151 KEYFIEBEY, Key field beyond end of record
152 ILLRECACC, Illogical record accessing
153 RECALREXI, Record already exists
154 RECBUCLOC, Record/bucket locked
155 RECNOTFOU, Record not found
156 SIZRECINV, Size of record invalid
157 RECFILTOO, Record on file too big
158 PRIKEYOUT, Primary key out of sequence
159 KEYLARTHA, Key larger than record
160 FILATTNOT, File attributes not matched
161 MOVOVEBUF, Move overflows buffer
162 CANNOT OPEN FILE
164 TERFORFIL, Terminal format file required
166 NEGFILSTR, Negative fill or string length
168 ILLALLCLA, Illegal ALLOW clause
170 INDNOTFUL, Index not fully optimized
171 RRVNOTFUL, RRV not fully updated,
173 INVRFAFIE, Invalid RFA field
174 FILEXPDAT, File expiration date not yet reached
175 NODNAMERR, Node name error
176 NEGTABNOT, Negative TAB not allowed
177 TOOMUCDAT, Too much data in record
Error
Number Explanation
178 ERRFILCOR, Error on OPEN - file corrupted
179 UNEFILDAT, Unexpired file date
181 DECERR, Decimal error or overflow
182 NETOPERR, Network operation error
183 REMOVEBUF, REMAP overflows buffer
185 RECOVEMAP, RECORDSIZE overflows MAP buffer
186 IMPERRHAN, Improper error handling
187 ILLRECLOC, Illegal record locking
189 TOOLITDAT, Too little data in record
190 ILLNETOPE, Illegal network operation
191 ILLTFFOPE, Illegal terminal-format file operation
192 ILLWAIVAL, Illegal wait value
193 DEADLOCK, Detected deadlock while waiting for GET or
FIND
194 NOTBASIC, Not a BASIC error
195 DIMOUTRAN, Dimension number out of range
196 REMSTRNOT, REMAP string is not static
197 ARRTOOSMA, Array too small
226 GKSNOTINS, DEC GKS FOR VMS is not installed
227 STRTOOLON, String too long
228 RECATTNOT, Record attributes not matched
229 DIFUSELON, Differing use of LONG/WORD qualifiers
238 ARRMUSSAM, Arrays must be same dimension
239 ARRMUSSQU, Arrays must be square
240 CANCHAARR, Cannot change array dimensions
245 ILLEXIDEF, Illegal exit from DEF
*
246 ERRTRANEE, ERROR trap needs RESUME
247 ILLRESSUB, Illegal RESUME to subroutine
250 NOTIMP, Not implemented
252 FILACPFAI, FILE ACP failure
253 DIRERR, Directive error
256 ECHTYPNOT, Prompt/echo type not supported
Error
Number Explanation
257 ILLTRANUM, Illegal transformation number
258 ILLPICOPE, Illegal picture operation
259 CLIPONOFF, Clipping must be ON or OFF
260 TRANOTDIF, Transformation numbers are not different
261 COLNOTCON, Color indices are not contiguous
262 ILLARESTY, Illegal area style
263 ILLTEXJUS, Illegal text justification
264 ILLTEXPRE, Illegal text precision
265 ILLTEXPAT, Illegal text path
266 ILLDEVID, Illegal device identification number
267 DEVTYPNOT, Device type is not supported
268 DEVNOTOPE, Device is not open
269 DEVOUTMET, Device is an output metafile
270 DEVINMET, Device is an input metafile
272 DEVOPEING, Device and operation are incompatible
273 COONOTNDC, Coordinates are not within NDC space
274 ILLLINSTY, Illegal line style number
275 ILLLINSIZ, Illegal line size
276 ILLPOISTY, Illegal point style number
277 ILLTEXRAT, Illegal text width-to-height ratio
278 ILLTEXHEI, Illegal text height
279 ILLSTYIND, Illegal area style index
280 ILLCOLIND, Illegal color index
281 NUMCOOINS, Number of coordinates is insufficient
282 UNINUMNOT, Unit number is not defined for the device
283 ILLECHARE, Illegal echo area
284 ILLINIVAL, Illegal initial value
285 ENTPOINOT, Entered points not within a transformation
286 UNKGKSERR, Unknown DEC GKS FOR VMS error
287 INVCHASTR, Invalid character in string
Error
Number Explanation
288 STRLENZER, String length is zero
289 DATOVERF, Data overflow
290 ILLCNTCLA, Illegal count clause
291 ILLCOLMIX, Illegal color mix
292 ILLDEVNAM, Illegal device name in OPEN
293 USEABOINP, User aborted input, locate point cancelled