2024年2月19日发(作者:)
FreePascal错误一览表emory[内存溢出]fierexpected[缺标识符]fiernotfound[标识符未找到]*如:IdentifiernotfoundINTEGR[标识符INTEGER未找到]ateidentifier[重复说明]*如:DuplicateidentifierN[变量N重复说明]error[语法错误]*nrealconstant[实型常量错]nintegerconstant[整型常量错]constantexceedsline[字符串常量跨行]ynestedfile[文件嵌套过多]ctedendoffile[非正常文件结束]long[行过长]entifierexpected[缺类型标识符]yopenfile[打开文件过多]dfilename[无效文件名]tfound[文件未找到]*ll[磁盘满]dcompilerdirective[无效编译指示]yfile[文件过多]nedtypeinpointerdefinition[指针定义中未定义类型]leidentifierexpected[缺变量标识符]ntypedefinition[类型错误说明]*retoolarge[结构过长]etypeoutofrange[集合基类型越界]mponentsmaynotbefilesorobject[FILE分量不能为文件或对象]dstringlength[无效字符串长度]smatch[类型不匹配]*dsubrangebasetype[无效子界基类型]oundgreaterthanupperbound[下界大于上界]ltypeexpected[缺有序类型]rconstantexpected[缺整型常数]ntexpected[缺常量]rorrealconstantexpected[缺整型或实型常量]typeidentifierexpected[缺指针类型标识符]
dfunctionresulttype[无效的函数结果类型]dentifierexpected[缺标号标识符]xpected[缺BEGIN]*ected[缺END]*rexpressionexpected[缺整型表达式]lexpressionexpected[缺有序表达式]nexpressionexpected[缺布尔表达式]dtypedonotmatchoperator[操作数与操作符不匹配]nexpression[表达式错]lexpression[非法赋值]*dentifierexpected[缺域标识符]filetoolarge[目标文件过大]nedexternal[未定义外部标识符]dobjectfilerecord[无效OBJ文件记录]gmenttoolarge[代码段过长]gmenttoolarge[数据段过长]*cted[缺DO]*dPUBLICdefinition[无效PUBLIC定义]dEXTRNdefinition[无效EXTRN定义]yEXTRNdefinition[EXTRN定义过多]cted[缺0F]*ACEexpected[缺INTERFACE]drelocatablereference[无效重定位引用]pected[缺THEN]*(DOWNTO)expected[缺T0或DOWNTO]*nedforward[提前引用未定义的说明]yprocedures[过程过多]dtypecast[无效类型转换]onbyzero[被零除]dtypecast[无效文件类型]ReadorWritevariableofthistype[不能读写该类型的变量]*variableexpected[缺指针变量]variableexpected[缺字符串变量]expressionexpected[缺字符串表达式]arunitreference[单元循环引用]memismatchg[单元名不匹配]rsionmismatch[单元版本不匹配]
ateunitname[单元重名]leformaterror[单元文件格式错误]entationexpected[缺IMPLEMENTATl0N]ntandcasetypesdonotmatch[常数与CASE类型不相匹配]variableexpected[缺记录变量]ntoutofrange[常量越界]riableexpected[缺文件变量]rextressionexpected[缺指针变量]rorrealexpressionexpected[缺整型或实型表达式]otwithincurrentblock[标号不在当前块中]lreadydefined[标号已定义]nedlableinprecedingstatementpart[在前面语句中标号未定义]d@argument[无效的@参数]pected[缺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[缺“..”]*yvariable[变量过多]dFORcontrolvariable[无效FOR控制变量]rvariableexpected[缺整型变量]dproceduretypesarenotallowedhere[此处不允许用文件和过程类型]lengthmismatch[字符串长度不匹配]dorderingoffields[无效域顺序]constantexpected[缺字符串常量]rorrealvariableexpected[缺整型或实型变量]lvariableexpected[缺顺序变量]error[INLINE错]
terexpressionexpected[缺字符表达式]yrelocationitems[重定位项过多]nstantoutofrange[CASE常量越界]nstatement[语句错]’tcallaninterruptprocedute[不能调用中断过程]in8087modetocompliethis[必须在8087方式下编译]addressnotfound[未找到目标地址]efilesarenotallowedhere[此处不允许包含INCLUDE文件]ected[缺NIL]dqualifier[无效限定符]dvariablereference[无效变量引用]ysymbols[符号过多]entparttoolarge[语句部分过长]ustbevarparameters[文件必须为变量参数]yconditionaldirective[条件符号过多]cedconditionaldirective[条件指令错位]irectivemissing[缺少ENDIF指令]ninitialconditionaldefines[初始条件定义错]doesnotmatchpreviousdefinition[过程和函数头与前面定义的不匹配]aldiskerror[严重磁盘错误]’tevalutethisexpression[不能计算该表达式]*如:Can’tevaluteconstartexpression[不能计算该常量表达式]sionincorrectlyterminated[表达式错误结束]dformatspecifier[无效格式说明符]dindirectreference[无效间接引用]edvariablearenotallowedhere[此处不允许结构变量]’tevalutewithoutsystemunit[无SYSTEM单元不能计算]’taccessthissymbols[不能存取该符号]dfloating–pointoperation[无效浮点运算]’tcompileoverlaystomemory[不能将覆盖模块编译至内存]ureorfunctionvariableexpected[缺过程和函数变量]dprocedureorfunctionreference.[无效过程或函数引用]’toverlaythisunit[不能覆盖该单元]typeexpected[缺对象类型]bjecttypesarenotallowed[不允许局部对象类型]
Lexpected[缺VIRTUAL]identifierexpected[缺方法标识符]lconstructorarenotallowed[不允许虚拟构造方法]uctorIdentifierexpected[缺构造函数标识符]ctorIdentifierexpected[缺析构函数标识符]lyallowedwithinconstructors[FAIL标准过程只允许在构造方法内使用]dcombinationofopcodeandoperands[无效的操作符和操作数组合]referenceexpected[缺内存引用]’taddorsubtracerelocatablesymbols[不能加减可重定位符号]dregistercombination[无效寄存器组合]159.286/287Instructionsarenotenabled[未激活286/287指令]dsymbolreference[无效符号引用]nerationerror[代码生成错]ected[缺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[文件未用输入方式打开]
617Filenotopenforoutput[文件未用输出方式打开]Invalidnumericformat[无效数字格式]Diskiswrite-protected[磁盘写保护]Unknownunit[未知单元]*Drivenotready[驱动器未准备好]CRCerrorindata[数据CRC校验错]Baddriverequeststructlength[不良驱动器请求结构长度]Diskseekerror[磁盘定位错]Unknownmediatype[未知媒介类型]SectorNotFound[扇区未找到]Printeroutofpaper[打印机缺纸]Devicewritefault[设备写失败]Devicereadfault[设备读失败]Hardwarefailure[硬件故障]Divisionbyzero[以零做除数]Rangecheckerror[范围检查错]Stackoverflowerror[堆栈溢出错]Heapoverflowerror[堆溢出错]Invalidpointeroperation[无效指针操作]Floatingpointoverflow[浮点上溢出]Floatingpointunderflow[浮点下溢出]Invalidfloatingpointoperation[无效浮点运算]Overlaymanagernotinstalled[没有安装覆盖管理程序]Overlayfilereaderror[读取覆盖文件时错误]Objectnotinitialized[对象未初始化]Calltoabstractmethod[调用抽象方法]Streamregistrationerror[流登计错]Collectionindexoutofrange[集合下标越界]Collectionoverflowerror[集合溢出]数字超出范围GeneralProtectionfault[存取非法]Unhandledexpetionoccurred[控制-C]


发布评论