[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
       Compiler error messages are numbered 1 thru 131 and identify errors
       found during the compilation process.  When a compiler error is
       found the compilation process will stop, the error will be displayed
       at the top of the screen, and the affected text will be highlighted.


       ERROR NUMBER                        ERROR MESSAGE
   -------------------------------------------------------------------------

    1. Out of memory.               The compiler has run out of memory.
                                    a. Remove memory programs
                                    b. Break program into smaller units.
                                    c. Set link to disk instead of memory.
                                    d. Try using the command line compiler.

    2. Identifier Expected          An identified was expected.
                                    a. Check the variable you are trying to
                                       identify, it may be a reserved word.

    3. Unknown Identifier           An identifier has not been declared.

    4. Duplicate Identifier         You are trying to redeclare a identifier
                                    that has been previously declared in the
                                    same block.

    5. Syntax Error                 Illegal character(s) were found.

    6. Error in Real Constant       Constant may have been mis-declared.

    7. Error in Integer Constant    Integer may have been mis-declared.

    8. String Constant              Check for missing end-of-line quotes.
       Exceeds line

    9. Too many nested files        There is a limit of 5 nested files.

   10. UnExpected end of source     a. Begin end commands are mismatched
                                    b. Remarks may be misplaced.
                                    c. An include file end incorrectly.

   11. Line too long                You've exceeded the maximum 126
                                    character line.

   12. Type Identifier Expected     The identifier denotes an incorrect type.

   13. Too many open files          Ensure your CONFIG.SYS file contains the
                                    maximum number of allowable files (20).

   14. Invalid File Name            The filename has been found to be either
                                    invalid or has an invalid path.

   15. File Not Found               The file was not found in the specified
                                    path.

   16. Disk Full                    The output path specified a full disk.
                                    a. Delete unnecessary files.
                                    b. Turn off the auto-backup feature.

   17. Invalid Compiler Directive   a. A global directive was used in the
                                    body of the program.
                                    b. The specified directive was incorrect
                                    c. You may have used a directive valid
                                       in version 3.XX but not version 4.00.

   18. Too Many Files               The number of programs files exceeds
                                    the compiler limits.

   19. Undefined Type in
       Pointer Definition           The type was previously referenced as a
                                    pointer type, but was never declared.

   20. Variable Identifier
       Expected                     The identifier should identify a variable
                                    but it dos not.

   21. Error In Type                This symbol cannot be a type definition.

   22. Structure too Large          You have exceeded the maximum allowable
                                    size of a structure. (65520 Bytes)

   23. Set Base Type Out Of Range   The range of the base type was either
                                    less than 0 or greater than 255.

   24. File Components may not
       be files                     Cannot use file of file constructs.

   25. Invalid String Length        A string cannot be less than 1 or
                                    greater than 255 characters.

   26. Type Mismatch                The values you are using are
                                    incompatible with each other.

   27. Invalid Subrange Base Type   All ordinal type are valid base types.

   28. Lower Bound Greater than
       Upper Bound                  When you declared a subrange base type
                                    you declared the lower bound greater
                                    than the upper bound.

   29. Ordinal Type Expected        This is the only type allowed here.

   30. Integer Constant expected

   31. Constant expected

   32. Integer or Real Constant Expected

   33. Type identifier Expected

   34. Invalid Function
       Result Type                  You have tryed to make the result
                                    of a function something that was
                                    not of a simple type.

   35. Label Identifier Expected

   36. BEGIN Expected

   37. END Expected

   38. Integer Expression Expected

   39. Ordinal Expression Expected

   40. Boolean Expression Expected

   41. Operand Types do not
       Match Operator               The operator cannot be applied to the
                                    operands of this type.

   42. Error in Expression

   43. Illegal Assignment           a. Files or untyped variables cannot be
                                       assigned values.
                                    b. A function identifier can only be
                                       assigned values within the statement
                                       part of the function.

   44. Field Identifier Expected    The record variable, required a field
                                    identifier.

   45. Object File Too Large        The object file is greater the 64K.

   46. Undefined External           The external procedure or function had
                                    a missing or incorrect public definition.

   47. Invalid Object File Record

   48. Code Segment too Large       This segment has a limit of 65520 bytes.
                                    a. Try breaking the procedure or
                                       function into units.
                                    b. Break Units into smaller units.

   49. Data Segment too Large       The maximum size of this segment is 65520
                                    a. Try using dynamic data structures.

   50. DO Expected

   51. Invalid Public Definition    a. An assembly language has a public
                                       directive that has no corresponding
                                       pascal directive.
                                    b. An assembly language defines the
                                       same identifier twice.
                                    c. The Obj. file defines Public
                                       symbols that do not reside in
                                       the CODE segment.

   52. Invalid EXTRN Definition     a. A identifier was referred to through
                                       an EXTRN directive in assembly
                                       language, but was not defined in
                                       any of the pascal code.
                                    b. The identifier denotes an Absolute
                                       value.
                                    c. The identifier denotes an inline
                                       procedure or function.

   53. Too many EXTERN Definitions  The limit to the number of .Obj files
                                    is 256.

   54. OF Expected

   55. INTERFACE Expected

   56. Invalid Relocatable
       Reference                    a. The .Obj file contains data and other
                                       relocatable references in segments
                                       other then CODE.
                                    b. You might have used the HIGH and LOW
                                       operators with relocatable symbols,
                                       or you tryed to use relocatable
                                       symbols in DB directives.
                                    c. A relocatable symbol was not defined.

   57. Then Expected

   58. TO or DOWNTO Expected

   59. Undefined Forward            a. You declared a procedure or function
                                       in the interface section of the unit
                                       but did not declare it in the
                                       implementation section.
                                    b. You declared the procedure or function
                                       with a forward declaration, but it
                                       was never used.

   60. Too Many Procedures          You are only allowed 512 procedures or
                                    functions for each module. Reduce the
                                    size of the program or unit.

   61. Invalid Typecast

   62. Division by Zero

   63. Invalid File Type            The file handling procedure is not
                                    compatible with the file type.

   64. Cannot Read or Write
       Variables of this Type

   65. Pointer Variable Expected

   66. String Variable Expected

   67. String Expression Expected

   68. Unit Not Found               Unit has not been named in the uses
                                    section.

   69. Unit Name MisMatch           The name of the unit found in the .TPU
                                    file did not match the name of the
                                    unit specified in the uses section.

   70. Unit Version MisMatch        One or more of the units have changed
                                    since the last remake.  Try to
                                    recompile the units.

   71. Duplicate Unit Name          This name was previously used in the
                                    uses section.

   72. Unit File Format Error       Invalid .TPU file.

   73. Implementation Expected

   74. Constant and Case Types do not Match

   75. Record Variable Expected

   76. Constant Out of Range        You are trying to use a variable that
                                    is out of its range.

   77. File Variable Expected

   78. Pointer Expression Expected

   79. Integer or Real Expression Expected

   80. Label Not Within
       Current Block                A goto statement cannot reference a
                                    label outside of its block.

   81. Label Already Defined.

   82. Undefined Label in Preceding Statement Block

   83. Invalid @ Argument

   84. Unit Expected.

   85. ; Expected

   86. : Expected

   87. , Expected

   88. ( Expected

   89. ) Expected

   90. = Expected

   91. := Expected

   92. [ (. Expected

   93. ] .) Expected

   94. . Expected

   95. .. Expected

   96. Too Many Variables           The total size of the global or local
                                    variables cannot exceed 64K

   97. Invalid For Control Loop     The controlling variable must be of a
                                    simple type, defined in that block.

   98. Integer Variable Expected

   99. Files Are Not Allowed Here   Typed constants cannot be a file type.

  100. String Length MisMatch       The length of a string constant does
                                    not match the number of components of
                                    the character array.

  101. Invalid ordering of fields   The declaration of a record type
                                    constant do not match the declaration.

  102. String Constant Expected

  103. Integer or Real Variable Expected

  104. Ordinal Variable Expected

  105. Inline Error                 The < operator is not allowed in
                                    conjunction with relocatable references
                                    to variables.

  106. Character Expression Expected

  107. Too Many Relocation Items     Your program is too big for Turbo Pascal

  108. Not Enough Memory to
       Run Program                  a. Remove memory resident programs.
                                    b. Exit the integrated environment.
                                    c. Compile to disk.

  109. Cannot find .Exe file        The .Exe file generated has disappeared

  110. Cannot run a unit

  111. Compilation Aborted          Ctrl-Break was pressed.

  112. Case Constant Out of Range   Integer Case ranges are -32768..32767

  113. Error in Statement           A symbol was used that cannot start
                                    a statement.

  114. Cannot Call a Interrupt      Interrupts cannot directly be called.
       Procedure

  115. Must have an 8087 to
       Compile This                 The {$N+} state was used.

  116. Must be in 8088 Mode to
       Compile This.                The constructs can only be compiled in
                                    the {$N+} state.

  117. Target Address not Found     Error search request could not find
                                    statement.

  118. Include Files are Not
       Allowed Here                 Every statement part must be entirely
                                    contained in one file.

  119. TPM file format error        Invalid .TPM file.

  120. NIL Expected

  121. Invalid Qualifier            a. a variable that is not an array is
                                       being indexed.
                                    b. You are trying to specify fields
                                       in a variable that is not a record.
                                    c. You are trying to de-referance a
                                       variable that is not a pointer.

  122. Invalid Variable Reference   The preceding construct follows the
                                    syntax of a variable, but does not
                                    denote a memory location.

  123. Too Many Symbols             Each program or unit cannot contain
                                    more than 64K of symbols.  Turning
                                    off Debug code {$D-}, or creating
                                    smaller units may help.

  124. Statement Part too large     Each statement part is limited to
                                    about 24K of code.  If this error
                                    occurs then try to simplify your
                                    code by using smaller procedures or
                                    functions.

  125. Module Has No Debug
       Information                  An error occurred in a unit or program
                                    that was compiled with Debug information
                                    {$D-} turned off.  Recompile units or
                                    program with the Debug switch in the
                                    active position {$D+}.

  126. Files Must be Var
       Parameters                   A File type has been declared as a value
                                    parameter instead of a VAR parameter.

  127. Too Many Conditional
       Symbols                      There is not enough room to define any
                                    more conditional symbols.

  128. Misplaced Conditional
       Directive                    Compiler directives are not matched, ie
                                    a {$ELSE} was given without an {$IFDEF}
                                    or other corresponding directive.

  129. ENDIF Directive Missing      The number of {$IFxxx} and {$ENDIF} does
                                    match.

  130. Error in Initial
       Conditional Defines          The compiler requires zero or more
                                    identifiers separated by blanks, tabs,
                                    commas, or semicolons.

  131. Header Does Not Match
       Previous Definition          a. The interface header does not match its
                                       corresponding implementation section
                                       procedure or function definition.
                                    b. A forward header does not match its
                                       corresponding procedure or function
                                       declaration.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson