home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / beehive / program / pascal.arc / P-ERROR.DOC < prev    next >
Encoding:
Text File  |  1990-07-16  |  5.6 KB  |  152 lines

  1.  
  2.         PASCAL ERROR CODES AND MEANINGS
  3.         -------------------------------
  4.  
  5.  
  6. CODE NO              MEANING
  7.  
  8.    1:     error in simple type
  9.    2:     identifier expected
  10.    3:     'program' expected
  11.    4:     ')' expected
  12.    5:     ':' expected
  13.    6:     illegal symbol
  14.    7:     error in parameter list
  15.    8:     'of' expected
  16.    9:     '(' expected
  17.   10:     error in type
  18.   11:     '[' expected
  19.   12:     ']' expected
  20.   13:     'end' expected
  21.   14:     ';' expected
  22.   15:     integer expected
  23.   16:     '=' expected
  24.   17:     'begin' expected
  25.   18:     error in declaration prt
  26.   19:     error in field list
  27.   20:     ',' expected
  28.   21:     '*' expected
  29.  
  30.   50:     error in constant
  31.   51:     ':=' expected
  32.   52:     'then' expected
  33.   53:     'until' expected
  34.   54:     'do' expected
  35.   55:     'to' or 'downto' expected
  36.   56:     'if' expected
  37.   57:     'file' expected
  38.   58:     error in factor
  39.   59:     error in variable
  40.  
  41.   99:     '#' expected
  42.  
  43.  101:     identifier declared twice
  44.  102:     low bound exceeds high bound
  45.  103:     identifier is not of appropiate class
  46.  104:     identifier not declared
  47.  105:     sign not allowed
  48.  107:     incompatible subrange types
  49.  108:     file not allowed here
  50.  109:     type must not be real
  51.  110:     tagfield type must be scalar or subrange
  52.  111:     incompatible with tagfield type
  53.  112:     index type must not be real
  54.  113:     index type must be scalar or subrange
  55.  114:     base type must not be real
  56.  115:     base type must be scalar or subrange
  57.  116:     error in type of standard procedure parameter
  58.  117:     unsatisfied forward reference
  59.  118:     forward refernce type identifier in variable declaration
  60.  119:     forward declared; repetition of parameter list not allowed
  61.  120:     function result type must be scalar, subrange or pointer
  62.  121:     file value parameter not allowed
  63.  122:     forward declared function; repetition of result type not allowed
  64.  123:     missing result types in function declaration
  65.  124:     F-format for real only
  66.  125:     error in type of standard function parameter
  67.  126:     number of parameters does not agree with declaration
  68.  127:     illegal parameter substitution
  69.  128:     reslt type of parameter function does not agree with declaration
  70.  129:     type conflict of operands
  71.  130:     expression is not of set type
  72.  131:     tests on equality allowed only
  73.  132:     strict inclusion not allowed
  74.  133:     file comparisons not allowed
  75.  134:     illegal type of operand(s)
  76.  135:     type of operand must be boolean
  77.  136:     set element type must be scalar or subrange
  78.  137:     set element types not compatible
  79.  138:     type of variable is not array
  80.  139:     index type is not compatible with declaration
  81.  140:     type of variable is not record
  82.  141:     type of variable must be file or pointer
  83.  142:     illegal parameter substitution
  84.  143:     illegal type of loop control variable
  85.  144:     illegal type of expression
  86.  145:     type conflict
  87.  146:     assignment of files not allowed
  88.  147:     label type incompatible with selecting expression
  89.  148:     subrange bounds must be scalar
  90.  149:     index type must not be integer
  91.  150:     assignment to standard function is not allowed
  92.  151:     assignment to formal function is not allowed
  93.  152:     no such field in this record
  94.  153:     type error in read
  95.  154:     actual parameter must be variable
  96.  155:     control variable must not be declared on intermediate level
  97.  156:     multidefined case label
  98.  157:     too many cases in case statement
  99.  158:     missing corressponding variant declaration
  100.  159:     real or string tagfields not allowed
  101.  160:     previous declaration was not forward
  102.  161:     again forward declared
  103.  162:     parameter size must be constant
  104.  163:     missing variant in declaration
  105.  164:     substitution of standard procedure and/or function not allowed
  106.  165:     multidefined label
  107.  166:     multideclared label
  108.  167:     undeclared label
  109.  168:     undefined label
  110.  169:     error in base set
  111.  170:     value parameter expected
  112.  171:     standard file was redeclared
  113.  172:     undeclared external file
  114.  173:     Fortran procedure or function expected
  115.  174:     Pascal procedure or function expected
  116.  175:     missing file 'input' in program heading
  117.  176:     missing file 'output' in program heading
  118.  177:     assignment to function identifier not allowed here
  119.  178:     multidefined record variant
  120.  179:     X-opt of actual procedure or function does not match formal
  121.           declaration
  122.  180:     control variable must not be formal
  123.  181:     constant part of address out of range
  124.  
  125.  201:     error in real constant: digit expected
  126.  202:     string constant must not exceed source line
  127.  203:     integer constant exceeds range
  128.  204:     8 or 9 in octal number
  129.  205:     zero string not allowed
  130.  206:     integer part of real constant exceeds range
  131.  
  132.  250:     too many nested scopes of identifiers
  133.  251:     too many nested procedures and/or functions
  134.  252:     too many forward references of procedure enteries
  135.  253:     procedure too long
  136.  254:     too many long constants in thins source line
  137.  255:     too many errors on this sorce line
  138.  256:     too many external references
  139.  257:     too many externals
  140.  258:     too many local files
  141.  259:     expression too complicated
  142.  260:     too many exit labels
  143.  
  144.  300:     division by zero
  145.  301:     no case provided for this value
  146.  302:     index exbpession out of bounds
  147.  303:     value to be assigned is out of range
  148.  304:     element expression out of range
  149.  
  150.  398:     implementation restriction
  151.  399:     variable dimension arrays not implemented
  152.