FREE Pascal编译运行错误中文对照表资料.docx
《FREE Pascal编译运行错误中文对照表资料.docx》由会员分享,可在线阅读,更多相关《FREE Pascal编译运行错误中文对照表资料.docx(8页珍藏版)》请在冰豆网上搜索。
![FREE Pascal编译运行错误中文对照表资料.docx](https://file1.bdocx.com/fileroot1/2023-1/26/8a9d1267-df65-43df-86a1-350a4da11268/8a9d1267-df65-43df-86a1-350a4da112681.gif)
FREEPascal编译运行错误中文对照表资料
附录3FREEPASCAL出错信息对照表
一、编译时的出错信息
1.Outofmemory[内存溢出]
2.Identifierexpected[缺标识符]
3.Identifiernotfound[标识符未找到]*
如:
IdentifiernotfoundINTEGR[标识符INTEGER未找到]
4.Duplicateidentifier[重复说明]*
如:
DuplicateidentifierN[变量N重复说明]
5.Syntaxerror[语法错误]*
6.Errorinrealconstant[实型常量错]
7.Errorinintegerconstant[整型常量错]
8.Stringconstantexceedsline[字符串常量跨行]
9.Toomanynestedfile[文件嵌套过多]
10.Unexpectedendoffile[非正常文件结束]
11.Linetolong[行过长]
12.TypeIdentifierexpected[缺类型标识符]
13.Toomanyopenfile[打开文件过多]
14.Invalidfilename[无效文件名]
15.Filenotfound[文件未找到]*
16.Diskfull[磁盘满]
17.Invalidcompilerdirective[无效编译指示]
18.Toomanyfile[文件过多]
19.Undefinedtypeinpointerdefinition[指针定义中未定义类型]
20.Variableidentifierexpected[缺变量标识符]
21.Errorintypedefinition[类型错误说明]*
22.Stucturetoolarge[结构过长]
23.Setbasetypeoutofrange[集合基类型越界]
24.Filecomponentsmaynotbefilesorobject[FILE分量不能为文件或对象]
25.Invalidstringlength[无效字符串长度]
26.Typemismatch[类型不匹配]*
27.Invalidsubrangebasetype[无效子界基类型]
28.Lowerboundgreaterthanupperbound[下界大于上界]
29.Ordinaltypeexpected[缺有序类型]
30.Integerconstantexpected[缺整型常数]
31.Constantexpected[缺常量]
32.Integerorrealconstantexpected[缺整型或实型常量]
33.Pointetypeidentifierexpected[缺指针类型标识符]
34.Invalidfunctionresulttype[无效的函数结果类型]
35.Labelidentifierexpected[缺标号标识符]
36.Beginexpected[缺BEGIN]*
37.Endexpected[缺END]*
38.Integerexpressionexpected[缺整型表达式]
39.Ordinalexpressionexpected[缺有序表达式]
40.Booleanexpressionexpected[缺布尔表达式]
41.Operandtypedonotmatchoperator[操作数与操作符不匹配]
42.Errorinexpression[表达式错]
43.Illegalexpression[非法赋值]*
44.Fieldidentifierexpected[缺域标识符]
45.Objectfiletoolarge[目标文件过大]
46.Undefinedexternal[未定义外部标识符]
47.Invalidobjectfilerecord[无效OBJ文件记录]
48.Codesegmenttoolarge[代码段过长]
49.Datasegmenttoolarge[数据段过长]*
50.Doexpected[缺DO]*
51.InvalidPUBLICdefinition[无效PUBLIC定义]
52.InvalidEXTRNdefinition[无效EXTRN定义]
53.ToomanyEXTRNdefinition[EXTRN定义过多]
54.Ofextected[缺0F]*
55.INTERFACEexpected[缺INTERFACE]
56.Invalidrelocatablereference[无效重定位引用]
57.THENexpected[缺THEN]*
58.TO(DOWNTO)expected[缺T0或DOWNTO]*
59.Undefinedforward[提前引用未定义的说明]
60.Toomanyprocedures[过程过多]
61.Invalidtypecast[无效类型转换]
62.Divisionbyzero[被零除]
63.Invalidtypecast[无效文件类型]
64.CannotReadorWritevariableofthistype[不能读写该类型的变量]*
65.Pontervariableexpected[缺指针变量]
66.Stringvariableexpected[缺字符串变量]
67.Stringexpressionexpected[缺字符串表达式]
68.Circularunitreference[单元循环引用]
69.Unitnamemismatchg[单元名不匹配]
70.Unitversionmismatch[单元版本不匹配]
71.Duplicateunitname[单元重名]
72.Unitfileformaterror[单元文件格式错误]
73.Implementationexpected[缺IMPLEMENTATl0N]
74.constantandcasetypesdonotmatch[常数与CASE类型不相匹配]
75.Recordvariableexpected[缺记录变量]
76.Constantoutofrange[常量越界]
77.Filevariableexpected[缺文件变量]
78.Pointerextressionexpected[缺指针变量]
79.Integerorrealexpressionexpected[缺整型或实型表达式]
80.Lablenotwithincurrentblock[标号不在当前块中]
81.Lablealreadydefined[标号已定义]
82.Undefinedlableinprecedingstatementpart[在前面语句中标号未定义]
83.Invalid@argument[无效的@参数]
84.Unitexpected[缺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.Toomanyvariable[变量过多]
97.InvalidFORcontrolvariable[无效FOR控制变量]
98.Integervariableexpected[缺整型变量]
99.Fileandproceduretypesarenotallowedhere[此处不允许用文件和过程类型]
100.Srtinglengthmismatch[字符串长度不匹配]
101.Invalidorderingoffields[无效域顺序]
102.Stringconstantexpected[缺字符串常量]
103.Integerorrealvariableexpected[缺整型或实型变量]
104.Ordinalvariableexpected[缺顺序变量]
105.INLINEerror[INLINE错]
106.Characterexpressionexpected[缺字符表达式]
107.Toomanyrelocationitems[重定位项过多]
112.Caseconstantoutofrange[CASE常量越界]
113.Errorinstatement[语句错]
114.Can’tcallaninterruptprocedute[不能调用中断过程]
116.Mustbein8087modetocompliethis[必须在8087方式下编译]
117.Targetaddressnotfound[未找到目标地址]
118.Includefilesarenotallowedhere[此处不允许包含INCLUDE文件]
120.NILexpected[缺NIL]
121.Invalidqualifier[无效限定符]
122.Invalidvariablereference[无效变量引用]
123.Toomanysymbols[符号过多]
124.Statementparttoolarge[语句部分过长]
126.Filesmustbevarparameters[文件必须为变量参数]
127.Toomanyconditionaldirective[条件符号过多]
128.Misplacedconditionaldirective[条件指令错位]
129.ENDIFdirectivemissing[缺少ENDIF指令]
130.Errorininitialconditionaldefines[初始条件定义错]
131.Headerdoesnotmatchpreviousdefinition[过程和函数头与前面定义的不匹配]
132.Criticaldiskerror[严重磁盘错误]
133.Can’tevalutethisexpression[不能计算该表达式]*
如:
Can’tevaluteconstartexpression[不能计算该常量表达式]
134.Expressionincorrectlyterminated[表达式错误结束]
135.Invaildformatspecifier[无效格式说明符]
136.Invalidindirectreference[无效间接引用]
137.Structedvariablearenotallowedhere[此处不允许结构变量]
138.Can’tevalutewithoutsystemunit[无SYSTEM单元不能计算]
139.Can’taccessthissymbols[不能存取该符号]
140.Invalidfloating–pointoperation[无效浮点运算]
141.Can’tcompileoverlaystomemory[不能将覆盖模块编译至内存]
142.Procedureorfunctionvariableexpected[缺过程和函数变量]
143.Invalidprocedureorfunctionreference.[无效过程或函数引用]
144.Can’toverlaythisunit[不能覆盖该单元]
147.Objecttypeexpected[缺对象类型]
148.Localobjecttypesarenotallowed[不允许局部对象类型]
149.VIRTUALexpected[缺VIRTUAL]
150.Methodidentifierexpected[缺方法标识符]
151.Virtualconstructorarenotallowed[不允许虚拟构造方法]
152.ConstructorIdentifierexpected[缺构造函数标识符]
153.DestructorIdentifierexpected[缺析构函数标识符]
154.Failonlyallowedwithinconstructors[FAIL标准过程只允许在构造方法内使用]
155.Invalidcombinationofopcodeandoperands[无效的操作符和操作数组合]
156.Memoryreferenceexpected[缺内存引用]
157.Can’taddorsubtracerelocatablesymbols[不能加减可重定位符号]
158.Invalidregistercombination[无效寄存器组合]
159.286/287Instructionsarenotenabled[未激活286/287指令]
160.Invalidsymbolreference[无效符号引用]
161.Codegenerationerror[代码生成错]
162.ASMexpected[缺ASM]
二、运行错误
运行错误将显示错误信息,并终止程序的运行。
Runtimeerror***atXXXX:
YYYY
其中***是运行错误号,运行时的错误分为以下四类:
错误号为1~99是DOS错误;100~149是输入输出错误;150~199是严重错误;200~255是致命错误。
XXXX:
YYYY是错误地址,形式为段地址:
偏移量。
1Invalidfunctionnumber[无效函数号]
2Filenotfound[文件未找到]
3Pathnotfound[路径未找到]
4Toomanyopenfiles[打开文件过多]
5Fileaccessdenied[禁止文件存取]
6Invalidfilehandle[无效文件句柄]
12Invalidfileaccesscode[无效文件存取代码]
15Invaliddrivenumber[无效驱动器号]
16Cannotremovecurrentdirectory[不能删除当前目录]
17Cannotrenameacrossdrives[不能跨驱动器改文件名]
100Diskreaderror[磁盘读错误]
101Diskwriteerror[磁盘写错误]
102Filenotassigned[文件变量未赋值]
103Filenotopen[文件未打开]
104Filenotopenforinput[文件未用输入方式打开]
105Filenotopenforoutput[文件未用输出方式打开]
106Invalidnumericformat[无效数字格式]
150Diskiswrite-protected[磁盘写保护]
151Unknownunit[未知单元]*
152Drivenotready[驱动器未准备好]
154CRCerrorindata[数据CRC校验错]
155Baddriverequeststructlength[不良驱动器请求结构长度]
156Diskseekerror[磁盘定位错]
157Unknownmediatype[未知媒介类型]
158SectorNotFound[扇区未找到]
159Printeroutofpaper[打印机缺纸]
160Devicewritefault[设备写失败]
161Devicereadfault[设备读失败]
162Hardwarefailure[硬件故障]
200Divisionbyzero[以零做除数]
201Rangecheckerror[范围检查错]
202Stackoverflowerror[堆栈溢出错]
203Heapoverflowerror[堆溢出错]
204Invalidpointeroperation[无效指针操作]
205Floatingpointoverflow[浮点上溢出]
206Floatingpointunderflow[浮点下溢出]
207Invalidfloatingpointoperation[无效浮点运算]
208Overlaymanagernotinstalled[没有安装覆盖管理程序]
209Overlayfilereaderror[读取覆盖文件时错误]
210Objectnotinitialized[对象未初始化]
211Calltoabstractmethod[调用抽象方法]
212Streamregistrationerror[流登计错]
213Collectionindexoutofrange[集合下标越界]
214Collectionoverflowerror[集合溢出]
215数字超出范围
216GeneralProtectionfault[存取非法]
217Unhandledexpetionoccurred[控制-C]