Free Pascal错误一览表
1.Out of memory[内存溢出]
2.Identifier expected[缺标识符]
3.Identifier not found[标识符未到]*
如:Identifier not found INTEGR[标识符INTEGER未到]
4.Duplicate identifier[重复说明]*
如:Duplicate identifier N[变量N重复说明]
5.Syntax error[语法错误]*
6.Error in real constant[实型常量错]
7.Error in integer constant[整型常量错]
8.String constant exceeds line[字符串常量跨行]
9.Too many nested file[文件嵌套过多]
10.Unexpected end of file[非正常文件结束]
11.Line to long[行过长]
12.Type Identifier expected[缺类型标识符]
13.Too many open file[打开文件过多]
14.Invalid file name[无效文件名]
15.File not found[文件未到]*
16.Disk full[磁盘满]
17.Invalid compiler directive[无效编译指示]
18.Too many file[文件过多]
19.Undefined type in pointer definition[指针定义中未定义类型]
20.Variable identifier expected[缺变量标识符]
21.Error in type definition[类型错误说明]*
22.Stucture too large[结构过长]
23.Set base type out of range[集合基类型越界]
24.File components may not be files or object[FILE分量不
能为文件或对象]
25.Invalid string length[无效字符串长度]
26.Type mismatch[类型不匹配]*
27.Invalid subrange base type[无效子界基类型]
28.Lower bound greater than upper bound[下界大于上界]
29.Ordinal type expected[缺有序类型]
30.Integer constant expected[缺整型常数]
31.Constant expected[缺常量]
32.Integer or real constant expected[缺整型或实型常量]
33.Pointe type identifier expected[缺指针类型标识符]
34.Invalid function result type[无效的函数结果类型]
35.Label identifier expected[缺标号标识符]
36.Begin expected[缺BEGIN]*
37.End expected[缺END]*
38.Integer expression expected[缺整型表达式]
39.Ordinal expression expected[缺有序表达式]
40.Boolean expression expected[缺布尔表达式]
41.Operand type do not match operator[操作数与操作符不匹配]
42.Error in expression[表达式错]
43.Illegal expression[非法赋值]*
44.Field identifier expected[缺域标识符]
45.Object file too large[目标文件过大]
46.Undefined external[未定义外部标识符]
47.Invalid object file record[无效OBJ文件记录]
48.Code segment too large[代码段过长]
49.Data segment too large[数据段过长]*
50.Do expected[缺DO]*
51.Invalid PUBLIC definition[无效PUBLIC定义]
52.Invalid EXTRN definition[无效EXTRN定义]
53.Too many EXTRN definition[EXTRN定义过多]
54.Of extected[缺0F]*
55.INTERFACE expected[缺INTERFACE]
56.Invalid relocatable reference[无效重定位引用]
57.THEN expected[缺THEN]*
58.TO(DOWNTO)expected[缺T0或DOWNTO]*
59.Undefined forward[提前引用未定义的说明]
60.Too many procedures[过程过多]
61.Invalid typecast[无效类型转换]
62.Division by zero[被零除]
63.Invalid typecast[无效文件类型]
64.Cannot Read or Write variable of this type[不能读写该类
型的变量]*
65.Ponter variable expected[缺指针变量]
66.String variable expected[缺字符串变量]
67.String expression expected[缺字符串表达式]
68.Circular unit reference[单元循环引用]
69.Unit name mismatchg[单元名不匹配]
70.Unit version mismatch[单元版本不匹配]
71.Duplicate unit name[单元重名]
72.Unit file format error[单元文件格式错误]
73.Implementation expected[缺IMPLEMENTATl0N]
匹配]
75.Record variable expected[缺记录变量]
76.Constant out of range[常量越界]
77.File variable expected[缺文件变量]
78.Pointer extression expected[缺指针变量]
79.Integer or real expression expected[缺整型或实型表达式]
80.Lable not within current block[标号不在当前块中]
81.Lable already defined[标号已定义]
82.Undefined lable in preceding statement part[在前面语句中
标号未定义]
83.Invalid@argument[无效的@参数]
84.Unit expected[缺UNIT]
85.“;”expected[缺“;”]*
86.“:”expected[缺“:”]*
87.“,”expected[缺“,”]*
88.“(”expected[缺“(”)*
89.“)”expected[缺“]”]*
90.“=”expected[缺“=”]*
91.“:=”expected[缺“:=”]*
92.“[”or“(”expected[缺“[”或“(”)*
93.“]”or“)”expected[缺“]”或“)”]*
94.“..”expected[缺“.”]*
95.“..”expected[缺“..”]*
96.Too many variable[变量过多]
97.Invalid FOR control variable[无效FOR控制变量]
98.Integer variable expected[缺整型变量]
99.File and procedure types are not allowed here[此处不允
许用文件和过程类型]
100.Srting length mismatch[字符串长度不匹配]
101.Invalid ordering of fields[无效域顺序]
102.String constant expected[缺字符串常量]
103.Integer or real variable expected[缺整型或实型变量]
104.Ordinal variable expected[缺顺序变量]
105.INLINE error[INLINE错]
106.Character expression expected[缺字符表达式]
107.Too many relocation items[重定位项过多]
112.Case constant out of range[CASE常量越界]
113.Error in statement[语句错]
114.Can’t call an interrupt procedute[不能调用中断过程] 116.Must be in8087mode to complie this[必须在8087方式下编译]
117.Target address not found[未到目标地址]
118.Include files are not allowed here[此处不允许包含INCLUDE文件]
120.NIL expected[缺NIL]
121.Invalid qualifier[无效限定符]
122.Invalid variable reference[无效变量引用]
123.Too many symbols[符号过多]
124.Statement part too large[语句部分过长]
126.Files must be var parameters[文件必须为变量参数]
127.Too many conditional directive[条件符号过多]
128.Misplaced conditional directive[条件指令错位]
129.ENDIF directive missing[缺少ENDIF指令]
130.Error in initial conditional defines[初始条件定义错] 131.Header does not match previous definition[过程和函数头与前面定义的不匹配]
132.Critical disk error[严重磁盘错误]
133.Can’t evalute this expression[不能计算该表达式]*如:Can’t evalute constart expression[不能计算该常量表达式] 134.Expression incorrectly terminated[表达式错误结束]
135.Invaild format specifier[无效格式说明符]
136.Invalid indirect reference[无效间接引用]
137.Structed variable are not allowed here[此处不允许结构变量] 138.Can’t evalute without system unit[无SYSTEM单元不能计算] 139.Can’t access this symbols[不能存取该符号]
140.Invalid floating–point operation[无效浮点运算]
141.Can’t compile overlays to memory[不能将覆盖模块编译至内存] 142.Procedure or function variable expected[缺过程和函数变量] 143.Invalid procedure or function reference.[无效过程或函数引用] 144.Can’t overlay this unit[不能覆盖该单元]
147.Object type expected[缺对象类型]
148.Local object types are not allowed[不允许局部对象类型]
149.VIRTUAL expected[缺VIRTUAL]
150.Method identifier expected[缺方法标识符]
151.Virtual constructor are not allowed[不允许虚拟构造方法] 152.Constructor Identifier expected[缺构造函数标识符]
153.Destructor Identifier expected[缺析构函数标识符]
154.Fail only allowed within constructors[FAIL标准过程只允许在构造方法内使用]
155.Invalid combination of opcode and operands[无效的操作符和操作数组合]
156.Memory reference expected[缺内存引用]
157.Can’t add or subtrace relocatable symbols[不能加减可重定位符号]
158.Invalid register combination[无效寄存器组合]
159.286/287Instructions are not enabled[未激活286/287指令] 160.Invalid symbol reference[无效符号引用]
161.Code generation error[代码生成错]
162.ASM expected[缺ASM]
二、运行错误
运行错误将显示错误信息,并终止程序的运行。
Run time error***at XXXX:YYYY
其中***是运行错误号,运行时的错误分为以下四类:错误号为1~99是DOS错误;100~149是输入输出错误;150~199是严重错误;200~255是致命错误。XXXX:YYYY是错误地址,形式为段地址:偏移量。
1Invalid function number[无效函数号]
2File not found[文件未到]
3Path not found[路径未到]
4Too many open files[打开文件过多]
5File access denied[禁止文件存取]
6Invalid file handle[无效文件句柄]
12Invalid file access code[无效文件存取代码]
15Invalid drive number[无效驱动器号]
16Cannot remove current directory[不能删除当前目录]
17Cannot rename across drives[不能跨驱动器改文件名]
invalid system disk100Disk read error[磁盘读错误]
101Disk write error[磁盘写错误]
102File not assigned[文件变量未赋值]
103File not open[文件未打开]
104File not open for input[文件未用输入方式打开]
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论