1 
  2 
  3 
  4 AM82 (Level 68 Multics Basic Manual)
  5 
  6 
  7 02/14/89 Errata Information for MR 12.2
  8 
  9 pg 5-8 change the syntax in the enclosed box from
 10              def fnx$(a,b$),x,y$,z
 11         to:  def fnx$(a,b$)x,y$,z
 12 
 13 -----------------------------------------------------------------
 14  Add the following in table of content.  (page viii)
 15 
 16                  Appendix E ERROR MESSAGES E-1
 17                      CONTROL OF ERROR MESSAGES E-1
 18                      LIST OF ERROR MESSAGES E-2
 19 
 20 
 21       -----------------------------------------------------------------
 22  Add the following after appendix D.  (pageD-2)
 23                                 APPENDIX E
 24 
 25                               ERROR MESSAGES
 26 
 27            This  appendix describes  the severity  level and
 28 lists all the error
 29 messages.
 30 
 31 
 32 CONTROL OF ERROR MESSAGES
 33 
 34          All warnings and errors output by the basic compiler
 35 are grouped  into  five  classes  or  levels  of  severity as
 36 follows:
 37 
 38 
 39         1.  Warning only - Compilation continues without
 40             negative effect.
 41 
 42         2.  Correctable error  - The  compiler attempts  to
 43             remedy the situation   and  continues,   possibly
 44             without negative effect; however,   the  compiler
 45             does   not  guarantee correct results.
 46 
 47         3.  An uncorrectable  but recoverable  error - That
 48             is, the program is in error and cannot be compiled, but
 49             the compiler continues checking for errors until it
 50             reaches ten errors.
 51 
 52 
 53         4.  An unrecoverable  error -  The compiler  cannot
 54             continue beyond  this  point,  and  compilation  aborts.
 55             Such an error  is usually   a result  of implementation
 56             limits or errors in the compiler itself.
 57 
 58         5.  An unrecoverable error - Invalid control arguments are
 59             specified or  the source program is  not found.  The
 60             compiler is not invoked.
 61 
 62 
 63 LIST OF ERROR MESSAGES
 64 ---- -- ----- --------
 65 
 66         A complete  list of error messages  follows.  In the
 67 case of error  messages, xxx  or zzz  indicates the  point in the
 68 message where specific information  about the actual error  is inserted
 69 by the compiler.
 70 
 71         All error messages that  begin with "***COMPILER ERROR" are
 72 errors in the compiler itself and should never occur.  If such an
 73 error  message  does  occur,  you  should  report  it  to
 74 maintenance personnel  at your  site.  Save  the source  so that  the
 75 error can be duplicated and corrected by the developers.
 76 
 77    _^HE_^HR_^HR_^HO_^HR _^HM_^HE_^HS_^HS_^HA_^HG_^HE_^HS
 78 
 79 
 80 ERROR
 81 NUMBER SEVERITY MESSAGE
 82 
 83    001 (3) Number too large
 84 
 85    002 (3) Incorrect format
 86 
 87    003 (3) Line number too large after xxx
 88 
 89    004 (3) No line number after xxx
 90 
 91    005 (3) Wrong number of dimensions for "zzz"
 92 
 93    006 (3) Invalid function name "zzz"
 94 
 95 
 96    007 (3) Invalid statement
 97 
 98    008 (3) Invalid variable "zzz"
 99 
100    009 (3) Line too long
101 
102    010 (3) No <NL> at end of source program
103 
104    011 (3) String constant must end with quote after xxx
105 
106    012 (4) ***COMPILER ERROR
107 
108    013 (2) No end statement
109 
110    014 (3) Program out of order after xxx
111 
112 
113    015 (3) Invalid "ASC" function arg
114 
115    016 (3) Invalid operator "zzz"
116 
117    017 (3) Invalid character
118 
119    018 (3) Invalid constant
120 
121    019 (3) Too many constants
122 
123    020 (3) Relational required
124 
125    021 (3) Mixed string and numeric expression
126 
127 
128    022 (3) then or goto missing
129 
130    023 (3) Mixed string and numeric assignment
131 
132    024 (3) "=" required
133 
134    025 (3) Unimplemented statement or operator
135 
136    026 (3) Numeric expression required
137 
138    027 (3) String expression required
139 
140    028 (3) File expression required
141 
142    029 (3) Wrong number of arguments for "zzz"
143 
144 
145    030 (3) Parenthesis mismatch
146 
147    031 (3) Punctuation not allowed
148 
149    032 (3) Expression too complicated
150 
151    033 (3) Invalid array name "zzz"
152 
153    034 (3) Invalid line number
154 
155    035 (3) Line number required
156 
157    036 (3) Too many missing lines
158 
159 
160    037 (3) then, goto, or gosub missing
161 
162    038 (3) Wrong number of dimensions for "zzz"
163 
164    039 (3) ":" missing
165 
166    040 (3) String reference required
167 
168    041 (3) "zzz" function not allowed
169 
170    042 (3) Numeric variable required
171 
172    043 (3) Next without for
173 
174    044 (3) For-next mismatch
175 
176 
177    045 (3) For without next
178 
179    046 (3) For statements nested too deep
180 
181    047 (3) Too many data items
182 
183    048 (3) Multiple commas not allowed
184 
185    049 (3) Operation not allowed
186 
187    050 (3) Integer constant required
188 
189    051 (2) Unfinished function definition
190 
191 
192    052 (3) Fnend without def
193 
194    053 (3) Nested function definition
195 
196    054 (3) Function defined twice
197 
198    055 (3) Invalid argument list
199 
200    056 (3) Invalid function name in function definition
201 
202    057 (3) Redimensioning illegal
203 
204    058 (3) Matrix required
205 
206    059 (3) Numeric matrix required
207 
208 
209    060 (3) String matrix required
210 
211    061 (3) Numeric list required
212 
213    062 (3) Too many local variables or temporaries
214 
215    063 (3) Array occurs more than once in sub statement
216 
217    064 (3) End or subend must be last statement,
218 
219    065 (3) End not allowed
220 
221    066 (3) File occurs more than once in sub statement
222 
223 
224    067 (3) No subend statement
225 
226    068 (3) Statement outside of program
227 
228    069 (3) Sub statement not allowed
229 
230    070 (3) Subroutine defined more than once
231 
232    071 (3) Variable occurs more than once in sub statement
233 
234    072 (3) String constant required
235 
236    073 (3) Invalid subroutine name
237 
238    074 (3) Invalid subroutine parameter
239 
240 
241    075 (3) Subend not allowed
242 
243    076 (3) Array "zzz" defined twice
244 
245    077 (3) Too many subroutines
246 
247    078 (3) Function occurs more than once in sub statement
248 
249    079 (2) For without next
250 
251    080 (2) Undefined function "zzz"
252 
253    081 (2) Undefined line number
254 
255    082 (3) Function "zzz" cannot be passed
256 
257 
258    083 (3) "=" not found where expected
259 
260    084 (3) Source program too large
261 
262    085 (3) Number too small
263 
264    086 (3) Function "zzz" not available yet,
265 
266    095 (3) Zero power of zero
267 
268    096 (3) Negative power of zero
269 
270    097 (3) ***Runtime error deleting temporary file ***
271 
272    099 (3) Unimplemented run-time operator
273 
274 
275    100 (3) Subscript out of bounds
276 
277    101 (3) On evaluated out of range
278 
279    102 (3) Return before gosub
280 
281    103 (3) Out of data
282 
283    104 (3) String too long
284 
285    105 (3) Incorrect numeric input , retype
286 
287    106 (3) Incorrect string input , retype
288 
289    107 (3) Not enough input , add more
290 
291 
292    108 (3) Too much input , excess ignored
293 
294    109 (3) Program halted
295 
296    110 (3) Input line too long , retype
297 
298    111 (3) Attempt to execute erroneous statement xxx
299 
300    112 (3) Attempt to transfer to missing line
301 
302    113 (3) Attempt to execute for without next
303 
304    114 (3) Exp too small
305 
306 
307    115 (3) Exp too large
308 
309    116 (3) Log of zero
310 
311    117 (3) Log of negative number
312 
313    118 (3) Atn of zero
314 
315    119 (3) Sin or cos too large
316 
317    120 (3) Square root of negative number
318 
319    121 (3) Power of negative number
320 
321    122 (3) Tan too large
322 
323 
324    123 (3) tan too close to singularity
325 
326    124 (3) Invalid val argument
327 
328    125 (3) Overflow
329 
330    126 (3) Useless loop
331 
332    127 (3) Attempt to transfer to missing function
333 
334    128 (3) Function arguments incorrect
335 
336    129 (3) Function return error
337 
338 
339    130 (3) Stack  space exhausted, subroutine/function calls
340            beyond maximum depth
341 
342    131 (3) Invalid margin
343 
344    132 (3) File type and usage conflict
345 
346    133 (3) End-of-file
347 
348    134 (3) Invalid file name
349 
350    135 (3) Invalid file number
351 
352    136 (3) Random file pointer invalid
353 
354 
355    137 (3) Redimension error
356 
357    138 (3) Change error
358 
359    139 (3) Array error
360 
361    140 (3) Underflow
362 
363    141 (3) Zero length print using string
364 
365    142 (3) Invalid field in print using string
366 
367    143 (3) Out of room
368 
369    144 (3) Division by zero
370 
371 
372    145 (3) Incorrect format for file input
373 
374    146 (3) Time up
375 
376    147 (3) Could not open file
377 
378    148 (3) Cannot write into file
379 
380    149 (3) Input line too long
381 
382    150 (3) Subroutine "zzz" called with wrong number
383                               of parameters
384    151 (3) Subroutine "zzz" called with wrong parameter type
385 
386 
387    152 (3) Subroutine "zzz" cannot be called from xxx
388 
389    153 (3) A string array cannot be passed to non-basic
390            procedure "zzz".  Called from xxx
391 
392    154 (3) A function cannot be passed to non-basic
393            procedure "zzz".  Called from xxx
394 
395    155 (3) A file cannot be passed to non-basic
396            procedure "zzz".  Called from xxx
397 
398    156 (3) Cannot read from file
399 
400    157 (3) Cannot close file
401 
402 
403    158 (3) I/O error
404 
405    159 (3) Cannot scratch file
406 
407    160 (3) Subroutine "zzz" called with wrong number of
408            arguments
409 
410    161 (3)  Subroutine "zzz" called with  incorrect argument
411            type
412 
413    162  (3) No  descriptors  present  in call  of subroutine
414            "zzz"
415 
416    163 (3) A string array cannot be received by
417            subroutine "zzz"
418 
419 
420    164  (3)  A  function  cannot  be  received by subroutine
421            "zzz"
422 
423    165 (3) A file cannot be received by subroutine "zzz"
424 
425    166 (3) Number of digits specified out of range
426 
427    167 (1) Unimplemented statement ignored
428 
429    168 (2) Illegal library name
430 
431    169 (2) Too many constants used.  Limit is 16383 words
432 
433    170 (2) Too much storage used for variables
434 
435 
436    180 (5) No main program
437 
438 
439 
440 
441 
442