China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 19:49
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Turbo Pascal Error Codes (V5.5) [Repost] View 1,022 Replies 0
Original Poster Posted 2003-01-04 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Turbo Pascal Error Codes (V5.5)

/

--------------------------------------------------------------------------------
   ●Run-time error messages
   I. Compile-time error messages
   Compile-time messages refer to code and integrated environment problems that prevent an executable file from being generated. In the integrated environment, Turbo Pascal tries to locate the source code where the error occurred.
   1. Out of memory
   2. Identifier missing
   3. Unknown identifier
   4. Duplicate identifier
   5. Syntax error
   6. Real constant error
   7. Integer constant error
   8. Character constant spans lines
   9. Too many nested files
   10. Unexpected end of file
   11. Line too long
   12. Type identifier missing
   13. Too many open files
   14. Filename undefined
   15. File not found
   16. Disk full
   17. Compiler directive undefined
   18. Too many files
   19. Undefined type in pointer definition
   20. Variable declaration missing
   21. Wrong type
   22. Structure too large
   23. Set base type out of range
   24. Invalid file component
   25. Invalid string length
   26. Type mismatch
   27. Local variable undefined
   28. Lower bound greater than upper bound
   29. Ordinal type missing
   30. Integer constant missing
   31. Constant missing
   32. Integer or real constant missing
   33. Type declaration missing
   34. Function result type undefined
   35. Scalar declaration missing
   36. Begin missing
   37. End missing
   38. Integer expression missing
   39. Ordinal expression missing
   40. Boolean expression missing
   41. Operand type mismatch
   42. Error in expression
   43. Illegal assignment
   44. Scope identifier missing
   45. Object file too long
   46. External file undefined
   47. Invalid object file record
   48. Code segment too long
   49. Data segment too long
   50. Do missing
   51. Invalid public definition
   52. Invalid external definition
   53. Too many external definitions
   54. of missing
   55. Interface missing
   56. Invalid floating reference
   57. Then missing
   58. to or downto missing
   59. Forward declaration undefined
   60. Too many procedures
   61. Invalid type conversion
   62. Division by zero
   63. Invalid file type
   64. Cannot read this kind of variable
   65. Pointer variable missing
   66. String variable missing
   67. String expression missing
   68. Circular unit reference
   69. Unit name mismatch
   70. Unit declaration mismatch
   71. Duplicate unit name
   72. Unit file format error
   73. Implementation part missing
   74. Constant does not match discriminant type
   75. Record variable missing
   76. Constant out of range
   77. File variable missing
   78. Pointer variable missing
   79. Integer or real expression missing
   80. Label not in current block
   81. Label already defined
   82. Label undefined
   83. Invalid parameter
   84. Unit missing
   85. “;” missing
   86. “:” missing
   87. “,” missing
   88. “(” missing
   89. “)” missing
   90. “=” missing
   91. “:=” missing
   92. “[” or “(” missing
   93. “]” or “)” missing
   94. “.” missing
   95. “..” missing
   96. Too many variables
   97. Invalid control variable
   98. Integer variable missing
   99. File not allowed here
   100. String length mismatch
   101. Invalid file operation
   102. String constant missing
   103. Integer or real variable missing
   104. Ordinal variable missing
   105. Error in Inline
   106. Character expression missing
   107. Too many loop items
   112. Special constant out of range
   113. Error in statement
   114. Interrupt procedure cannot be called
   116. Must be compiled with 8087 support
   117. Target address not found
   118. Include files not allowed
   120. Nil missing
   121. No overlap in ranges
   122. No overlap in variable references
   123. Too many symbols
   124. Statement section too long
   126. File must use parentheses
   127. Too many special symbols
   128. Misplaced conditional directive
   129. Missing ENDIF directive
   130. Error in initial conditional definition
   131. Does not match the previously defined procedure or function header
   132. Serious disk error
   133. Cannot evaluate this expression
   134. Error at end of expression
   135. Invalid format specifier
   136. Non-directive call structure
   137. Structured variable not allowed
   138. Cannot evaluate without the SYSTEM unit
   139. Cannot pass this quantity
   140. Invalid floating-point operation
   141. Cannot compile in overlay memory
   142. Procedure or function variable missing
   143. Invalid procedure or function call
   144. This unit cannot be overlaid
   II. Run-time error messages
   Run-time errors are errors that appear while the program is running. When one occurs, Turbo Pascal displays the following message:
   Run time error nnn at xxxx:yyyy
   nnn is the numeric code of the run-time error, xxxx is the program segment where the error occurred, and yyyy is the offset address of the error.
   1. Dos errors
   2. File not found
   3. Path not found
   4. Too many open files
   5. File access denied
   6. Invalid file handle
   12. Invalid file access code
   15. Invalid drive
   16. Cannot remove current directory
   17. Cannot rename file across drives
   2. I/O errors
   100. Disk read error
   101. Disk write error
   102. File variable not assigned
   103. File not open
   104. File not opened for input
   105. File not opened for output
   106. Invalid numeric format
   3. Serious errors
   150. File write-protected
   151. Unknown unit
   152. Drive not ready
   153. Unknown command
   154. Data CRC check error
   155. Bad drive request structure length
   156. Disk seek error
   157. Unknown media type
   158. Sector not found
   159. Printer out of paper
   160. Device auxiliary output error
   161. Device input error
   162. Hardware failure
   4. Fatal errors
   200. Division by zero
   201. Range check error
   202. Stack overflow error
   203. Heap overflow error
   204. Invalid pointer operation
   205. Floating-point overflow
   206. Floating-point underflow
   207. Invalid floating-point operation
   208. Overlay manager file not installed
   209. Error reading overlay file
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: