FREE PASCAL出错信息对照表
- 格式:pdf
- 大小:121.27 KB
- 文档页数:5
Free Pascal错误一览表1、Run Time Errors 运行错误(A)DOS 错误代码:1:无效DoS功能号2:文件末找到3:路径未找到4:打开文件过多5:禁止文件存取6:无效文件句柄12:无效文件存取代码15:无效驱动器号16:不能删除当前日录17:不能跨驱动器改文件名(B)I/O错误100:磁盘读错误101:磁盘写错误102:文件变量末赋值103:文件未打开104:文件未用输入方式打开105:文件末用输出方式打开106:无效数字格式(C)严重错误150:磁盘写保护15l:未知单元152:驱动器未准备好153:未知命令154:数据CRC校验错155:驱动器请求的结构长度错156:磁盘定位错157:未知媒介类型158:扇区末找到159:打印机缺纸160:设备写失败161:设备读失败162:硬件故障(D)致命错误200:被零除20l:范围检查错202:堆栈溢出错203:堆溢出错204:无效指针操作205:浮点上溢出206:浮点下溢出207:无效浮点运算208:未安装覆盖管理程序209:覆盖文件读错210:对象未初始化211:调用抽象方法212:流登计错213:集合下标越界214:集合溢出215:算术上溢错误216:存取非法217:控制-C218:授权指令219:无效的TYPECAST220:无效的变体TYPECAST221:无效的变体操作222:没有变体方法调用DISPATCHER223:不能建立变体数组224:变体不包含数组225:变体数组边界错误226:TLS初始化错误2、编译错误对照表下面列出在编译程序时可能出现的错误,在集成环境下,Pascal将自动加载源程序并定位于出错处。
1:内存溢出2:缺标识符3:标识符未定义4:标识符重定义5:语法错误6:实型常量错7:整型常量错8:字符串常量跨行9:文件嵌套过多10:非正常文件结束11:行过长12:缺类型标识符13:打开文件过多14:无效文件名15:文件未找到16:磁盘满17:无效编译指示18:文件过多19:指针定义中未定义类型20:缺变量标识符21:类型错误22:结构过长24:文件分量不能为文件25:无效字符串长度26:类型不匹配27:无效子界基类型28:下界大于上界29:缺有序类型30:缺整型常数31:缺常数32:缺整型或实型常数33:缺指针类型标识符34:无效的函数结果类型35:缺标号标识符36:缺BEGIN37:缺END38:缺整型表达式39:缺有序表达式40:缺布尔表达式41:操作数类型与操作符不匹配42:表达式错43:非法赋值44:缺字段标识符45:目标文件过长46:未定义外部标识符47:无效*.OBJ文件记录48:代码段过长49:数据段过长50:缺DO51:无效PUBLIC定义52:无效EXTRN定义53:EXTRN定义过多54:缺0F55:缺INTERFACE56:无效重定位引用57:缺THEN58:缺T0或DOWNTO59:未定义的向前引用60:过程过多61:无效类型转换62:被零除D63:无效文件类型64:不能读写该类型的变量65:缺指针变量66:缺字符串变量67:缺字符串表达式68:单元循环引用69:单元名不匹配70:单元版本不匹配71:单元重名72:单元文件格式错误73:缺IMPLEMENTATl0N 74:常数与CASE类型不相匹配75:缺记录变量76:常数越界77:缺文件变量78:缺指针变量79:缺整型或实型表达式80:标号不在当前块中81:标号已定义82:标号未定义83:无效参数84:缺UNIT85:缺“;”86:缺“:”87:缺“,”88:缺“(”89:缺“)”90:缺“=”91:缺“:=”92:缺“[”或“(.”93:缺“]”或“.)”94:缺“.”96:变量过多97:无效FOR控制变量98:缺整型变量99:此处不允许用文件和100:字符串长度不匹配101:无效字顺序102:缺字符串常数103:缺整型或实型变量104:缺有序变量105:INLINE错106:缺字符表达式107:重定位项过多112:CASE常量越界113:语句错114:不能调用中断过程116:必须在8087方式下编译117:末找到目标地址118:此处不允许包含文件120:缺NIL121:无效限定符122:无效变量引用123:符号过多124:语句部分过长126:文件必须为变量参数127:条件符号过多128:条件指令错位130:初始条件定义错13l:过程和函数头与前面定义的不匹酉132:严重磁盘错误133:不能计算该表达式134:表达式错误结束l35:无效格式说明符136:无效间接引用137:此处不允许结构变量138:无SYSTEM单元不能计算l39:不能存取该符号140:无效浮点运算141:不能将覆盖编译至内存142:缺过程和函数变量143:无效过程或函数引用144:不能覆盖该单元147:缺对象类型148:不允许局部对象类型149:缺VIRTUAL150:缺方法标识符151:不允许虚拟构造方法152:缺构造方法标识符153:缺释放方法标识符154:FAIL只允许在构造方法内使用155:无效的操作符和操作数组合156:缺内存引用l57:不能加减可重定位符号158:无效寄存器组合159:未激活286/287指令160:无效符号引用161:代码生成错162:缺ASM。
Pascal错误对照表一、Pascal编译错误信息中英文对照表下面列出在编译程序时可能出现的错误,在集成环境下,Turbo Pascal将自动加载源程序并定位于出错处:错误代码及错误信息错误释义error1:Out of memory内存溢出error2:Identifier expected缺标识符error3:Unknown identifier未定义的标识符error4:Duplicate identifier重复定义的标识符error5:Syntax error语法错误error6:Error in real constant实型常量错误error7:Error in integer constant整型常量错误error8:String constant exceeds line字符串常量超过一行error10:Unexpected end of file文件非正常结束error11:Line too long行太长error12:Type identifier expected未定义的类型标识符error13:Too many open files打开文件太多error14:Invalid file name无效的文件名error15:File not found文件未找到error16:Disk full磁盘满error17:Invalid compiler directive无效的编译命令error18:Too many files文件太多error19:Undefined type in pointer def指针定义中未定义类型error20:Variable identifier expected缺变量标识符error21:Error in type类型错误error22:Structure too large结构类型太长error23:Set base type out of range集合基类型越界error24:File components may not be files or objectsfile分量不能是文件或对象error25:Invalid string length无效的字符串长度error26:Type mismatch类型不匹配error27:error27:Invalid subrange base type无效的子界基类型error28:Lower bound greater than upper bound下界超过上界error29:Ordinal type expected缺有序类型error30:Integer constant expected缺整型常量error31:Constant expected缺常量error32:Integer or real constant expected缺整型或实型常量error33:Pointer Type identifier expected缺指针类型标识符error34:Invalid function result type无效的函数结果类型error35:Label identifier expected缺标号标识符error36:BEGIN expected缺BEGINerror37:END expected缺ENDerror38:Integer expression expected缺整型表达式error39:Ordinal expression expected缺有序类型表达式error40:Boolean expression expected缺布尔表达式error41:Operand types do not match操作数类型不匹配error42:Error in expression表达式错误error43:Illegal assignment非法赋值error44:Field identifier expected缺域标识符error45:Object file too large目标文件太大error46:Undefined external未定义的外部过程与函数error47:Invalid object file record无效的OBJ文件格式error48:Code segment too large代码段太长error49:Data segment too large数据段太长error50:DO expected缺DOerror51:Invalid PUBLIC definition无效的PUBLIC定义error52:Invalid EXTRN definition无效的EXTRN定义error53:Too many EXTRN definitions太多的EXTRN定义error54:OF expected缺OFerror55:INTERFACE expected缺INTERFACEerror56:Invalid relocatable reference无效的可重定位引用error57:THEN expected缺THENerror58:TO or DOWNTO expected缺TO或DOWNTOerror59:Undefined forward提前引用未经定义的说明error61:Invalid typecast无效的类型转换error62:Division by zero被零除error63:Invalid file type无效的文件类型error64:Cannot read or write variables of this type不能读写此类型变量error65:Pointer variable expected缺指针类型变量error66:String variable expected缺字符串变量error67:String expression expected缺字符串表达式error68:Circular unit reference单元UNIT部件循环引用error69:Unit name mismatch单元名不匹配error70:Unit version mismatch单元版本不匹配error71:Internal stack overflow内部堆栈溢出error72:Unit file format error单元文件格式错误error73:IMPLEMENTATION expected缺IMPLEMENTATIONerror74:Constant and case types do not match常量和CASE类型不匹配error75:Record or object variable expected缺记录或对象变量error76:Constant out of range常量越界error77:File variable expected缺文件变量error78:Pointer expression expected缺指针表达式error79:Integer or real expression expected缺整型或实型表达式error80:Label not within current block标号不在当前块内error81:Label already defined标号已定义error82:Undefined label in preceding statement part在前面未定义标号error83:Invalid@argument无效的@参数error84:UNIT expected缺UNITerror85:";"expected缺“;”error86:":"expected缺“:”error87:","expected缺“,”error88:"("expected缺“(”error89:")"expected缺“)”error90:"="expected缺“=”error91:":="expected缺“:=”error92:"["or"(."Expected缺“[”或“(.”error93:"]"or".)"expected缺“]”或“.)”error94:"."expected缺“.”error95:".."expected缺“..”error96:Too many variables变量太多error97:Invalid FOR control variable无效的FOR循环控制变量error98:Integer variable expected缺整型变量error99:Files and procedure types are not allowed here该处不允许文件和过程类型error100:String length mismatch字符串长度不匹配error101:Invalid ordering of fields无效域顺序error102:String constant expected缺字符串常量error103:Integer or real variable expected缺整型或实型变量error104:Ordinal variable expected缺有序类型变量error105:INLINE error INLINE错误error106:Character expression expected缺字符表达式error107:Too many relocation items重定位项太多error108:Overflow in arithmetic operation算术运算溢出error112:CASE constant out of range CASE常量越界error113:Error in statement表达式错误error114:Cannot call an interrupt procedure不能调用中断过程error116:Must be in8087mode to compile this必须在8087模式编译error117:Target address not found找不到目标地址error118:Include files are not allowed here该处不允许INCLUDE文件error119:No inherited methods are accessible here该处继承方法不可访问error121:Invalid qualifier无效的限定符error122:Invalid variable reference无效的变量引用error123:Too many symbols符号太多error124:Statement part too large语句体太长error126:Files must be var parameters文件必须是变量形参error127:Too many conditional symbols条件符号太多error128:Misplaced conditional directive条件指令错位error129:ENDIF directive missing缺ENDIF指令error130:Error in initial conditional defines初始条件定义错误error131:Header does not match previous definition和前面定义的过程或函数不匹配error133:Cannot evaluate this expression不能计算该表达式error134:Expression incorrectly terminated表达式错误结束error135:Invalid format specifier无效格式说明符error136:Invalid indirect reference无效的间接引用error137:Structured variables are not allowed here该处不允许结构变量error138:Cannot evaluate without System unit没有System单元不能计算error139:Cannot access this symbol不能存取符号error140:Invalid floating point operation无效的符号运算error141:Cannot compile overlays to memory不能编译覆盖模块至内存error142:Pointer or procedural variable expected缺指针或过程变量error143:Invalid procedure or function reference无效的过程或函数调用error144:Cannot overlay this unit不能覆盖该单元error146:File access denied不允许文件访问error147:Object type expected缺对象类型error148:Local object types are not allowed不允许局部对象类型error149:VIRTUAL expected缺VIRTUALerror150:Method identifier expected缺方法标识符error151:Virtual constructors are not allowed不允许虚构造函数error152:Constructor identifier expected缺构造函数标识符error153:Destructor identifier expected缺析构函数标识符error154:Fail only allowed within constructors只能在构造函数内使用Fail标准过程error155:Invalid combination of opcode and operands操作数与操作符无效组合error156:Memory reference expected缺内存引用指针error157:Cannot add or subtract relocatable symbols不能加减可重定位符号error158:Invalid register combination无效寄存器组合error159:286/287instructions are not enabled未激活286/287指令error160:Invalid symbol reference无效符号指针error161:Code generation error代码生成错误error162:ASM expected缺ASMerror166:Procedure or function identifier expected缺过程或函数标识符error167:Cannot export this symbol不能输出该符号error168:Duplicate export name外部文件名重复error169:Executable file header too large可执行文件头太长error170:Too many segments段太多二、Pascal运行错误信息中英文对照表运行错误是指程序运行时出现的错误,当发生时,Turbo Pascal显示如下信息:RUNTIME ERROR NNNN AT XXXX:YYYY其中,NNNN是运行错误代码,XXXX是错误发生的程序段,YYYY是错误地址偏移。
C++出错提示英汉对照表Ambiguous operators need parentheses -----------不明确的运算需要用括号括起Ambiguous symbol ''xxx'' ----------------不明确的符号Argument list syntax error ----------------参数表语法错误Array bounds missing ------------------丢失数组界限符Array size toolarge -----------------数组尺寸太大Bad character in paramenters ------------------参数中有不适当的字符Bad file name format in include directive --------------------包含命令中文件名格式不正确Bad ifdef directive synatax ------------------------------编译预处理ifdef有语法错Bad undef directive syntax ---------------------------编译预处理undef有语法错Bit field too large ----------------位字段太长Call of non-function -----------------调用未定义的函数Call to function with no prototype ---------------调用函数时没有函数的说明Cannot modify a const object ---------------不允许修改常量对象Case outside of switch ----------------漏掉了case 语句Case syntax error ------------------ Case 语法错误Code has no effect -----------------代码不可述不可能执行到Compound statement missing{ --------------------分程序漏掉"{"Conflicting type modifiers ------------------不明确的类型说明符Constant expression required ----------------要求常量表达式Constant out of range in comparison -----------------在比较中常量超出范围Conversion may lose significant digits -----------------转换时会丢失意义的数字Conversion of near pointer not allowed -----------------不允许转换近指针Could not find file ''xxx'' -----------------------找不到XXX文件Declaration missing ; ----------------说明缺少";"Declaration syntax error -----------------说明中出现语法错误Default outside of switch ------------------ Default 出现在switch语句之外Define directive needs an identifier ------------------定义编译预处理需要标识符Division by zero ------------------用零作除数Do statement must have while ------------------ Do-while语句中缺少while部分Enum syntax error ---------------------枚举类型语法错误Enumeration constant syntax error -----------------枚举常数语法错误Error directive :xxx ------------------------错误的编译预处理命令Error writing output file ---------------------写输出文件错误Expression syntax error -----------------------表达式语法错误Extra parameter in call ------------------------调用时出现多余错误File name too long ----------------文件名太长Function call missing -----------------函数调用缺少右括号Fuction definition out of place ------------------函数定义位置错误Fuction should return a value ------------------函数必需返回一个值Goto statement missing label ------------------ Goto语句没有标号Hexadecimal or octal constant too large ------------------16进制或8进制常数太大Illegal character ''x'' ------------------非法字符xIllegal initialization ------------------非法的初始化Illegal octal digit ------------------非法的8进制数字Illegal pointer subtraction ------------------非法的指针相减Illegal structure operation ------------------非法的结构体操作Illegal use of floating point -----------------非法的浮点运算Illegal use of pointer --------------------指针使用非法Improper use of a typedefsymbol ----------------类型定义符号使用不恰当In-line assembly not allowed -----------------不允许使用行间汇编Incompatible storage class -----------------存储类别不相容Incompatible type conversion --------------------不相容的类型转换Incorrect number format -----------------------错误的数据格式Incorrect use of default --------------------- Default使用不当Invalid indirection ---------------------无效的间接运算Invalid pointer addition ------------------指针相加无效Irreducible expression tree -----------------------无法执行的表达式运算Lvalue required ---------------------------需要逻辑值0或非0值Macro argument syntax error -------------------宏参数语法错误Macro expansion too long ----------------------宏的扩展以后太长Mismatched number of parameters in definition ---------------------定义中参数个数不匹配Misplaced break ---------------------此处不应出现break语句Misplaced continue ------------------------此处不应出现continue语句Misplaced decimal point --------------------此处不应出现小数点Misplaced elif directive --------------------不应编译预处理elifMisplaced else ----------------------此处不应出现elseMisplaced else directive ------------------此处不应出现编译预处理elseMisplaced endif directive -------------------此处不应出现编译预处理endifMust be addressable ----------------------必须是可以编址的Must take address of memory location ------------------必须存储定位的地址No declaration for function ''xxx'' -------------------没有函数xxx的说明No stack ---------------缺少堆栈No type information ------------------没有类型信息Non-portable pointer assignment --------------------不可移动的指针(地址常数)赋值Non-portable pointer comparison --------------------不可移动的指针(地址常数)比较Non-portable pointer conversion ----------------------不可移动的指针(地址常数)转换Not a valid expression format type ---------------------不合法的表达式格式Not an allowed type ---------------------不允许使用的类型Numeric constant too large -------------------数值常太大Out of memory -------------------内存不够用Parameter ''xxx'' is never used ------------------能数xxx没有用到Pointer required on left side of -> -----------------------符号->的左边必须是指针Possible use of ''xxx'' before definition -------------------在定义之前就使用了xxx(警告)Possibly incorrect assignment ----------------赋值可能不正确Redeclaration of ''xxx'' -------------------重复定义了xxxRedefinition of ''xxx'' is not identical ------------------- xxx的两次定义不一致Register allocation failure ------------------寄存器定址失败Repeat count needs an lvalue ------------------重复计数需要逻辑值Size of structure or array not known ------------------结构体或数给大小不确定Statement missing ; ------------------语句后缺少";"Structure or union syntax error --------------结构体或联合体语法错误Structure size too large ----------------结构体尺寸太大Sub scripting missing ] ----------------下标缺少右方括号Superfluous & with function or array ------------------函数或数组中有多余的"&" Suspicious pointer conversion ---------------------可疑的指针转换Symbol limit exceeded ---------------符号超限Too few parameters in call -----------------函数调用时的实参少于函数的参数不Too many default cases ------------------- Default太多(switch语句中一个)Too many error or warning messages --------------------错误或警告信息太多Too many type in declaration -----------------说明中类型太多Too much auto memory in function -----------------函数用到的局部存储太多Too much global data defined in file ------------------文件中全局数据太多Two consecutive dots -----------------两个连续的句点Type mismatch in parameter xxx ----------------参数xxx类型不匹配Type mismatch in redeclaration of ''xxx'' ---------------- xxx重定义的类型不匹配Unable to create output file ''xxx'' ----------------无法建立输出文件xxxUnable to open include file ''xxx'' ---------------无法打开被包含的文件xxxUnable to open input file ''xxx'' ----------------无法打开输入文件xxxUndefined label ''xxx'' -------------------没有定义的标号xxxUndefined structure ''xxx'' -----------------没有定义的结构xxxUndefined symbol ''xxx'' -----------------没有定义的符号xxxUnexpected end of file in comment started on line xxx ----------从xxx行开始的注解尚未结束文件不能结束Unexpected end of file in conditional started on line xxx ----从xxx 开始的条件语句尚未结束文件不能结束Unknown assemble instruction ----------------未知的汇编结构Unknown option ---------------未知的操作Unknown preprocessor directive: ''xxx'' -----------------不认识的预处理命令xxx Unreachable code ------------------无路可达的代码Unterminated string or character constant -----------------字符串缺少引号User break ----------------用户强行中断了程序Void functions may not return a value ----------------- Void类型的函数不应有返回值Wrong number of arguments -----------------调用函数的参数数目错''xxx'' not an argument ----------------- xxx不是参数''xxx'' not part of structure -------------------- xxx不是结构体的一部分xxx statement missing ( -------------------- xxx语句缺少左括号xxx statement missing ) ------------------ xxx语句缺少右括号xxx statement missing ; -------------------- xxx缺少分号xxx'' declared but never used -------------------说明了xxx但没有使用xxx'' is assigned a value which is never used ----------------------给xxx赋了值但未用过Zero length structure ------------------结构体的长度为零。
第14周 Freepascal错误代码一览表任何一个天才都不敢说,他编的程序是100%正确的。
几乎每一个稍微复杂一点的程序都必须经过反复的调试、修改,最终才完成。
所以说,程序的调试是编程中的一项重要技术。
Free Pascal IDE提供了很强大的调试功能,能很方便的找出程序的错误。
1、程序错误(1)编译错误:即语法错误。
如:命令错写,少分号等等。
此种错误在程序编译执行就能发现,而把光标停留在错误行上,并显示出错误信息,由用户修改。
(2)运行错误:如果没有语法错误。
则程序可以运行,但在运行过程中也有可能出现错误,如程序结构不合理,打印语句错误等。
此时,程序将中止运行,光标停留在错误语句处,并显示错误信息,等待用户修改。
(3)逻辑错误:如:程序递归出口设置不正确,逻辑判断设置错误,这样程序虽然能够正常运行,但运行结果却不正确,这是用户最难发现有错误,也是最难查找的错误,此时计算机也无任何错误信息。
一、程序调试根据下面的错误代码表,检查Demo1.pas、Demo2.pas、Demo3.pas、Demo4.pas程序运行过程中的错误代码,并尝试解决。
二、实验设计。
编制程序,尝试模拟下面运行错误代码出现的情况。
205 Floating point overflow浮点数上溢你试图使用或产生一个太大实数.206 Floating point underflow你试图使用或产生一个太小实数.207 Invalid floating point operation错误的浮点数操作可能是你开平方根或者对数时使用负数.Free Pascal Run Time Errors 运行错误对照表1 Invalid function numberY ou tried to call a DOS function which doesn't exist.2 File not foundY ou can get this error when you tried to do an operation on a file which doesn't exist.3 Path not foundY ou can get this error when you tried to do an operation on a file which doesn't exist, or when you try to change to, or remove a directory that doesn't exist, or try to make a subdirectory of a subdirectory that doesn't exist.4 Too many open filesWhen attempting to open a file for reading or writing, you can get this error when your program has too many open files.5 File access deniedY ou don't have access to the specified file.6 Invalid file handleIf this happens, the file variable you are using is trashed; it indicates that your memory is corrupted.12 Invalid file access codeThis will happen if you do a reset or rewrite of a file when FileMode is invalid.15 Invalid drive numberThe number given to the Getdir function specifies a non-existent disk.16 Cannot remove current directoryY ou get this if you try to remove the current diirectory.17 Cannot rename across drivesY ou cannot rename a file such that it would end up on another disk or partition.100 Disk read errorDOS only. An error occurred when reading from disk. Typically when you try to read past the end of a file.101 Disk write errorDOS only. Reported when the disk is full, and you're trying to write to it.102 File not assignedThis is reported by Reset, Rewrite, Append, Rename and Erase, if you call them with an unassigne function as a parameter.103 File not openReported by the following functions : Close , Read, Write, Seek, EOf, FilePos, FileSize, Flush, BlockRead, and BlockWrite if the file isn't open.104 File not open for inputReported by Read, BlockRead, Eof, Eoln, SeekEof or SeekEoln if the file isn't opened with Reset. 105 File not open for outputReported by write if a text file isn't opened with Rewrite.106 Invalid numeric formatReported when a non-numerice value is read from a text file, when a numeric value was expected. 150 Disk is write-protected(Critical error, DOS only.)151 Bad drive request struct length(Critical error, DOS only.)152 Drive not ready(Critical error, DOS only.)154 CRC error in data(Critical error, DOS only.)156 Disk seek error(Critical error, DOS only.)157 Unknown media type(Critical error, DOS only.)158 Sector Not Found(Critical error, DOS only.)159 Printer out of paper(Critical error, DOS only.)160 Device write fault(Critical error, DOS only.)161 Device read fault(Critical error, DOS only.)162 Hardware failure(Critical error, DOS only.)200 Division by zeroY ou are dividing a number by zero.201 Range check errorIf you compiled your program with range checking on, then you can get this error in the following cases:An array was accessed with an index outside its declared range. 数组越界访问Y ou're trying to assign a value to a variable outside its range (for instance a enumerated type). 超出变量范围,例如i:=32768;其中i为integer类型202 Stack overflow errorThe stack has grown beyond itss maximum size. This error can easily occur if you have recursive functions.203 Heap overflow errorThe heap has grown beyond its boundaries, ad you are rying to get more memory. Please note that Free Pascal provides a growing heap, i.e. the heap will try to allocate more memory if needed. However, if the heap has reached the maximum size allowed by the operating system or hardware, then you will get this error.204 Invalid pointer operationThis you will get if you call dispose or Freemem with an invalid pointer (notably, Nil)205 Floating point overflowY ou are trying to use or produce too large real numbers.206 Floating point underflowY ou are trying to use or produce too small real numbers.207 Invalid floating point operationCan occur if you try to calculate the square root or logarithm of a negative number.210 Object not initializedWhen compiled with range checking on, a program will report this error if you call a virtal method without having initialized the VMT.211 Call to abstract methodY our program tried to execute an abstract virtual method. Abstract methods should be overridden, and the overriding method should be called.212 Stream registration errorThis occurs when an invalid type is registered in the objects unit.213 Collection index out of rangeY ou are trying to access a collection item with an invalid index. (objects unit)214 Collection overflow errorThe collection has reached its maximal size, and you are trying to add another element. (objects unit)215 数字超出范围(例如3000000000超出长整形范围)216 General Protection faultY ou are trying to access memory outside your appointed memory.217 Unhandled expetion occurredAn exception occurred, and there was no exception handler present. The sysutils unit installs a default exception handler which catches all excpetions and exits gracefully.。
1、Run Time Errors 运行错误(A)DOS 错误代码:1:无效DoS功能号2:文件未找到3:路径未找到4:打开文件过多5:禁止文件存取6:无效文件句柄12:无效文件存取代码15:无效驱动器号16:不能删除当前日录17:不能跨驱动器改文件名(B)I/O错误100:磁盘读错误101:磁盘写错误102:文件变量末赋值103:文件未打开104:文件未用输入方式打开105:文件末用输出方式打开106:无效数字格式(C)严重错误150:磁盘写保护15l:未知单元152:驱动器未准备好153:未知命令154:数据CRC校验错155:驱动器请求的结构长度错156:磁盘定位错157:未知媒介类型158:扇区末找到159:打印机缺纸160:设备写失败161:设备读失败162:硬件故障(D)致命错误200:被零除201:范围检查错202:堆栈溢出错203:堆溢出错204:无效指针操作205:浮点上溢出206:浮点下溢出207:无效浮点运算208:未安装覆盖管理程序209:覆盖文件读错210:对象未初始化211:调用抽象方法212:流登计错213:集合下标越界214:集合溢出215:算术上溢错误216:存取非法217:控制-C218:授权指令219:无效的TYPECAST220:无效的变体TYPECAST221:无效的变体操作222:没有变体方法调用DISPATCHER223:不能建立变体数组224:变体不包含数组225:变体数组边界错误226:TLS初始化错误2、编译错误对照表下面列出在编译程序时可能出现的错误,在集成环境下,Pascal将自动加载源程序并定位于出错处。
1:内存溢出2:缺标识符3:标识符未定义4:标识符重定义5:语法错误6:实型常量错7:整型常量错8:字符串常量跨行9:文件嵌套过多10:非正常文件结束11:行过长12:缺类型标识符13:打开文件过多14:无效文件名15:文件未找到16:磁盘满17:无效编译指示18:文件过多19:指针定义中未定义类型20:缺变量标识符21:类型错误22:结构过长24:文件分量不能为文件25:无效字符串长度26:类型不匹配27:无效子界基类型28:下界大于上界29:缺有序类型30:缺整型常数31:缺常数32:缺整型或实型常数33:缺指针类型标识符34:无效的函数结果类型35:缺标号标识符36:缺BEGIN37:缺END38:缺整型表达式39:缺有序表达式40:缺布尔表达式41:操作数类型与操作符不匹配42:表达式错43:非法赋值44:缺字段标识符45:目标文件过长46:未定义外部标识符47:无效*.OBJ文件记录48:代码段过长49:数据段过长50:缺DO51:无效PUBLIC定义52:无效EXTRN定义53:EXTRN定义过多54:缺0F55:缺INTERFACE56:无效重定位引用57:缺THEN58:缺T0或DOWNTO59:未定义的向前引用60:过程过多61:无效类型转换62:被零除D63:无效文件类型64:不能读写该类型的变量65:缺指针变量66:缺字符串变量67:缺字符串表达式68:单元循环引用69:单元名不匹配70:单元版本不匹配错误一览表71:单元重名72:单元文件格式错误73:缺IMPLEMENTATl0N 74:常数与CASE类型不相匹配75:缺记录变量76:常数越界77:缺文件变量78:缺指针变量79:缺整型或实型表达式80:标号不在当前块中81:标号已定义82:标号未定义83:无效参数84:缺UNIT85:缺“;”86:缺“:”87:缺“,”88:缺“(”89:缺“)”90:缺“=”91:缺“:=”92:缺“[”或“(.”93:缺“]”或“.)”94:缺“.”96:变量过多97:无效FOR控制变量98:缺整型变量99:此处不允许用文件和100:字符串长度不匹配101:无效字顺序102:缺字符串常数103:缺整型或实型变量104:缺有序变量105:INLINE错106:缺字符表达式107:重定位项过多112:CASE常量越界113:语句错114:不能调用中断过程116:必须在8087方式下编译117:末找到目标地址118:此处不允许包含文件120:缺NIL121:无效限定符122:无效变量引用123:符号过多124:语句部分过长126:文件必须为变量参数127:条件符号过多128:条件指令错位130:初始条件定义错13l:过程和函数头与前面定义的不匹酉132:严重磁盘错误133:不能计算该表达式134:表达式错误结束l35:无效格式说明符136:无效间接引用137:此处不允许结构变量138:无SYSTEM单元不能计算l39:不能存取该符号140:无效浮点运算141:不能将覆盖编译至内存142:缺过程和函数变量143:无效过程或函数引用144:不能覆盖该单元147:缺对象类型148:不允许局部对象类型149:缺VIRTUAL150:缺方法标识符151:不允许虚拟构造方法152:缺构造方法标识符153:缺释放方法标识符154:FAIL只允许在构造方法内使用155:无效的操作符和操作数组合156:缺内存引用l57:不能加减可重定位符号158:无效寄存器组合159:未激活286/287指令160:无效符号引用161:代码生成错162:缺ASM。
Pascal运行错误对照表运行错误是指程序运行时出现的错误,当发生时,Turbo Pascal显示如下信息:RUNTIME ERROR NNNN A T XXXX:YYYY其中,nnnn是运行错误代码,xxxx是错误发生的程序段,yyyy是错误地址偏移。
'';'' not allowed before ''ELSE'' ElSE前不允许有“;”'''' clause not allowed in OLE automation section 在OLE自动区段不允许“”子句'''' is not a type identifier 不是类型标识符'''' not previously declared as a PROPERTY前面没有说明PROPERTY''GOTO '' leads into or out of TRY statement GOTO 进入或超出TRY语句的范围clause expected, but found 要求子句,但出现16-Bit fixup encountered in object file '''' 在对象文件遇到16位修复486/487 instructions not enabled 不能用486/487指令Abstract methods must be virtual or dynamic 抽象方法必须为虚拟的或动态的Array type required 需要数组类型Assignment to FOR-Loop variable '''' 给FOR循环变量赋值Bad argument type in variable type array constructor 在变量类型数组结构中不正确的参数类型Bad file format '''' 错误的文件格式Bad file format: 错误的文件格式Bad global symbol definition: '''' in object file '''' 对象文件''''中错误的全局符号定义''''Bad unit format: 错误的单元格式BREAK or CONTINUE outside of loop BREAK或CONTINUE超出循环Cannot add or subtract relocatable symbols 不能增加或减少可重置的符号Cannot assign to a read-only property 不能指定只读属性Cannot BREAK, CONTINUE or EXIT out of a FINALLY c lause 超出FINALLY子句的范围,不能使用BREAK,CONTINUE或EXIT语句Cannot initialize local variables 不能初始化局部变量Cannot initialize multiple variables 不能初始化多个变量Cannot initialize thread local variables 不能初始化线程局部变量Cannot override a static method 不能覆盖静态方法Cannot read a write-only property 不能读取只写属性Case label outside of range of case expression CASE标号超出了CASE表达式的范围Circular unit reference to 对单元循环引用Class already has a default property 类已具有默认的属性Class does not have a default property 类没有默认的属性Class or object types only allowed in type section 在类型区段只允许有类或对象类型Class type required 需要类类型Close error on 文件关闭错误Compile terminated by user 用户中止编译Constant expected 要求常量Constant expression expected 要求常量表达式Constant expression violates subrange bounds 常量表达式超出子界范围Constant object cannot be passed as var parameter 常量对象不能作为变量参数传递Constant or type identifier expected 要求常量或类型标识符Constants cannot be used as open array arguments 常量不能用作打开数组参数Constructing instance of '''' containing abstract methods 构造的实体包含抽象的方法Could not compile used unit '''' 不能用单元编译Could not create output file 不能建立输出文件Could not load RLINK32.DLL 不能加载RLINK32.DLLData type too large: exceeds 2 GB 数据类型太大:超过2GBDeclaration of differs from previous declaration 的说明与先前的说明不同Default property must be an array property 默认的属性必须为数组属性Default values must be of ordinal, pointer or small set type 默认的值必须为序数、指针或小集类型Destination cannot be assigned to 目标不能指定Destination is inaccessible 目标不能存取Dispid '''' already used by '''' DISPID标识号已被使用Dispid clause only allowed in OLE automation section DISPID子句只能在OLE自动区段中使用Division by zero 除数为零Duplicate case label CASE标号重复Duplicate tag value 重复的标志值Dynamic method or message handler not allowed here 这里不允许有动态方法或信息处理程序Dynamic methods and message handlers not allowed in OLE automation section在OLE自动区段不允许有动态方法或消息处理程序Element 0 inaccessible - use ''Length'' or ''SetLength'' 元素0不能存取-使用LENGTH或SETLENGTHError in numeric constant 数值常量错误EXCEPT or FINALLY expected 要求EXCEPT或FINALLYEXPORTS allowed only at global scope EXPORTS只允许在全局范围使用Expression has no value 表达式没有值Expression too complicated 表达式太复杂Field definition not allowed in OLE automation section 在OLE自动区段中不允许域定义Field definition not allowed after methods or properties 在方法或属性后不允许域定义Field or method identifier expected 要求域或方法标识符File not found: 文件没有找到File type not allowed here 这儿不允许文件类型For loop control variable must be simple local variable FOR循环控制变量必须为简单局部变量For loop control variable must have ordinal type FOR循环控制变量必须为序数类型FOR or WHILE loop executes zero times - deleted FOR或WHILE循环执行零次-删除FOR-Loop variable '''' cannot be passed as var parameter FOR循环变量不能作为参数传递FOR-Loop variable '''' may be undefined after loop 在循环后的FOR循环变量是不确定的Function needs result type 函数需要结果类型Identifier redeclared: '''' 标识符重复说明Illegal character in input file: '''' ($) 在输入文件中的非法字符''''Illegal message method index 非法的消息方法指针Illegal reference to symbol '''' in object file '''' 在对象文件中对符号的非法引用Illegal type in OLE automation section: '''' 在OLE自动区段中的非法类型Illegal type in Read/Readln statement 在Read/Readln语句中的非法类型Illegal type in Write/Writeln statement 在Write/Writeln语句中的非法类型Inaccessible value 不可存取的值Incompatible types: '''' and '''' 不兼容的类型和Incompatible types: 不兼容的类型Inline assembler stack overflow 内联汇编溢出Inline assembler syntax error 内联汇编语法错误Instance variable '''' inaccessible here 实体变量在这里不能存取Integer constant or variable name expected 要求整形常量或变量名Integer constant too large 整型常量太大Internal error: 内部错误Invalid combination of opcode and operands 操作码与操作对象的无效组合Invalid compiler directive: '''' 无效的编译指令Invalid function result type 无效的函数值类型Invalid message parameter list 无效的消息参数列表Invalid register combination 无效的寄存器组合Invalid typecast 无效的TYPECASELabel '''' is not declared in current procedure 在当前的过程中没有说明标号Label already defined: '''' 标号已经定义Label declaration not allowed in interface part 在界面部分不允许标号说明Label declared and referenced, but not set: '''' 标号被说明及引用,但不能设置Label expected 要求标号Left side cannot be assigned to 左边不能赋值Line too long (more than 255 characters) 行太长(超出255个字符)Local class or object types not allowed 不允许局部的类或对象类型Local procedure/function '''' assigned to procedure variable 局部过程/函数赋给过程变量LOOP/JCXZ distance out of range LOOP/JCXZ距离超出范围Low bound exceeds high bound 下界超过上界Memory reference expected 要求内存引用Method '''' hides virtual method of base type '''' 方法隐藏了基类型为的虚拟方法Method '''' not found in base class 在基类中没有找到方法Method identifier expected 要求方法标识符Missing ENDIF directive 缺少ENDIF指令Missing operator or semicolon 缺少操作符或分号Missing or invalid conditional symbol in ''$'' directive 在$指令中缺少或无效的条件符号Missing parameter type 缺少参数类型Necessary library helper function was eliminated by linker 必要的库帮助函数被连接程序删除No definition for abstract method '''' allowed 抽象方法没有定义Not enough actual parameters 没有足够的实际参数Number of elements differs from declaration 元素数与说明不同Numeric overflow 数值溢出Object or class type required 需要对象或类类型Object type required 需要对象类型Only register calling convention allowed in OLE automation section 在OLE自动区段中只允许寄存器调用约定Operand size mismatch 运算对象大小匹配Operator not applicable to this operand type 运算符不使用于这一运算对象类型Order of fields in record constant differs from declaration 在记录常量中的域次序与说明不同Ordinal type required 需要序数类型Out of memory 内存溢出Overflow in conversion or arithmetic operation 转换或算术操作溢出Overriding automated virtual method '''' cannot specify a dispid 覆盖的自动虚拟方法不能指定DISPIDPACKED not allowed here 这里不允许PACKEDPointer type required 需要指针类型Procedure cannot have a result type 过程不能有结果类型Procedure DISPOSE needs destructor 过程DISPOSE需要destructorProcedure FAIL only allowed in constructor 过程FAIL只允许在constructor方法中Procedure NEW needs constructor 过程NEW需要constructor方法PROCEDURE or FUNCTION expected 要求PROCEDURE或FUNCTIONProcedure or function name expected 要求过程或函数名Program or unit '''' recursively uses itself 程序或单元递归Property '''' does not exist in base class 在基类中属性不存在Published property '''' cannot be of type Published属性不能具有类型Published Real48 property '''' must be Single, Double or Extended Published REAL属性必须为Single, Double或ExtendedRe-raising an exception only allowed in exception handler 在意外处理中只允许重新引起意外处理Read error on 文件读出错Record, object or class type required 需要记录,对象或类类型Redeclaration of '''' hides a member in the base class 的重新说明隐藏了基类中一个元素Redeclaration of property not allowed in OLE automation section 在OLE自动区段中不允许属性重复说明Return value of function '''' might be undefined 函数的返回值可能没有定义Seek error on 在中搜索错误Segment/Offset pairs not supported in Borland 32-bit Pascal 在Borland 32位的PASCAL中不支持Segment/Offset对Sets may have at most 256 elements 集至少有256个元素Size of published set '''' is >32 bits published集的大小大于32字节Slice standard function only allowed as open array argument Slice标准函数只允许作为打开数组参数Statement expected, but expression of type '''' found 要求语句,但出现类型的表达式Statements not allowed in interface part 在界面中不允许的语句String constant too long 字符串常量太长String constant truncated to fit STRING[] 字符串常量截取到适合STRING[]Strings may have at most 255 elements 字符串至少255个元素Structure field identifier expected 要求结构域标识符Syntax error in real number 实数语法错误System unit out of date or corrupted: missing '''' 系统单元超出日期或损坏:缺少Text after final ''END. 编译器忽略END.后的文本This form of method call only allowed for class methods 该方法的窗体只允许类方法This form of method call only allowed in methods of derived types 该方法的窗体只允许在导出类型的方法中This type cannot be initialized 这一类型不能初始化Thread local variables cannot be ABSOLUTE 线程局部变量不能是ABSOLUTEThread local variables cannot be local to a function or procedure 线程局部变量对函数不能是局部的Too many actual parameters 太多的实际参数Too many conditional symbols 太多的条件符号Type '''' has no type info 类型没有类型信息Type '''' is not yet completely defined 类型至今没有定义Type '''' must be a class to have a PUBLISHED section 类型必须是在PUBLISHED区段中的类Type '''' must be a class to have OLE automation 类型必须是具有OLE自动的类Type '''' needs finalization - not allowed in file type 类型需要初始化-不允许在文件类型中Type '''' needs finalization - not allowed in variant record 类型需要初始化-不允许在变体记录Type expected 要求TYPEType not allowed in OLE Automation call 在OLE自动调用中不允许的类型Type of expression must be BOOLEAN 表达式的类型必须为BOOLEAN型Type of expression must be INTEGER 表达式的类型必须为INTEGER型TYPEINFO standard function expects a type identifier TYPEINFO标准函数要求类型标识符TYPEOF can only be applied to object types with a VMT TYPEOF只能用于具有VMT的对象类型Types of actual and formal var parameters must be identical 形参与实参必须一致Undeclared identifier: '''' 未说明的标识符Unexpected end of file in comment started on line 以行开始的注释中出现不应有的文件结束Unit was compiled with a different version of 单元与不同版本的编译Unit name mismatch: '''' 单元名不匹配Unknown directive: '''' 未知的指令Unnamed arguments must precede named arguments in OLE Automation call 在OLE自动调用中未命名的参数必须在命名的参数前Unsatisfied forward or external declaration: '''' 不满足的向前或外部说明Unterminated string 未结束的字符串V alue assigned to '''' never used 赋给的值从未使用过V ariable '''' inaccessible here due to optimization 由于优化,变量名在这里不能存取V ariable '''' is declared but never used in '''' 变量名已说明,但不曾使用V ariable '''' might not have been initialized 变量名可能没有初始化V ariable required 需要变量Virtual constructors are not allowed 不允许虚拟的constructors方法Write error on 文件写错误Wrong or corrupted version of RLINK32.DLL RLINK32.DLL版本错误或不能用******************************************************************************************************************************* 运行错误信息** 运行时出现的错误信息形式为: ** Run-time error nnn at xxxx ** 其中nnn 是运行时的错误编号** xxxx 是运行时的错误地址********************************运行时的错误分为以下三类:* I/O错误:错误编号为100-149编号说明---------------------------------------------------------100 磁盘读错误,若要对超过格式文件尾进行读取时101 磁盘写错误,若磁盘满时,由CloseFile,Write,Writeln或Flush报告102 没有指定文件,若文件变量没有由Assign或AssignFile赋值,由Reset,Rewrite,Append,Rename和Erase报告103 文件没有打开,若文件未打开,由CloseFile,Read,Write,Seek,Eof,FilePos,FileSize,Flush,BlockRead或BlockWrite报告104 输入文件未打开,由Read,Readln,Eof,Eoln,SeekEof或SeekEoln报告有关输入的文本文件未打开105 输出文件未打开,由Write和Writeln报告有关文本文件没有用Console应用程序生成106 无效的数据格式,由Read或Readln报告从文本文件读取的数据格式不正确* 致命错误:错误编号为200-255编号说明---------------------------------------------------------200 被零除201 范围检查错误202 栈上溢203 栈上溢错误204 无效的指针操作205 浮点上溢206 浮点下溢207 无效的浮点操作215 算术上溢错误216 存取非法217 控制-C218 授权指令219 无效的TYPECAST220 无效的变体TYPECAST221 无效的变体操作222 没有变体方法调用DISPA TCHER223 不能建立变体数组224 变体不包含数组225 变体数组边界错误226 TLS初始化错误。
IMSE_DONT_CATCH_=不良实践- 捕获可疑IllegalMonitorStateExceptionBX_BOXING_IMMEDIATELY_=性能- 基本类型包装之后立刻解包IJU_SETUP_NO_=使用错误- TestCase定义的setUp没有调用super.setUp()TQ_ALWAYS_VALUE_USED_WHERE_NEVER_=使用错误- 某个值使用了注解限制类型,但是这个限制永远不会发生TLW_TWO_LOCK_=多线程错误- 等待两个被持有的锁RV_01_TO_=使用错误- 0至1的随机数被当做整数0NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_=高危- 参数必须非null但是标记为可为nullRV_ABSOLUTE_VALUE_OF_RANDOM_=使用错误- 尝试计算32位随机整数的绝对值EC_INCOMPATIBLE_ARRAY_=使用错误- 使用equals()比较不兼容的数组UL_UNRELEASED_LOCK_EXCEPTION_=多线程错误- 方法没有在所有异常路径释放锁SE_NONSTATIC_=不良实践- serialVersionUID不是static的UCF_USELESS_CONTROL_=高危- 无用控制流BC_IMPOSSIBLE_=使用错误- 不可能的转换XSS_REQUEST_PARAMETER_TO_SEND_=安全风险- servlet的反射导致跨站脚本漏洞DM_NEW_FOR_=性能- 仅为了获得一个方法就创建了一个对象OBL_UNSATISFIED_=试验- 方法可能在清理流或资源时失败UW_UNCOND_=多线程错误- 无条件等待DLS_DEAD_LOCAL_STORE_OF_=高危- 把null设置给不会用到的局部变量NM_CLASS_NAMING_=类名应该以大写字母开头RC_REF_COMPARISON_BAD_PRACTICE_=使用错误- 怀疑对两个布尔值的引用进行比较MWN_MISMATCHED_=多线程错误- 不匹配的notify()NM_VERY_=错误- 非常容易迷惑的方法名FI_NULLIFY_=不良实践- 空Finalizer禁用了超类的finalizerMTIA_SUSPECT_STRUTS_INSTANCE_=高危- 继承了struts Action的类使用了实例变量DM_STRING_=性能- 方法调用了效率很低的new String(String)构造方法STCAL_INVOKE_ON_STATIC_DATE_FORMAT_=多线程错误- 调用静态DateFormatNP_NULL_PARAM_DEREF_=使用错误- 非虚拟方法调用向非空参数传入了nullFI_=不良实践- 应该删除空的finalizerCD_CIRCULAR_=试验- 类间存在循环引用EC_UNRELATED_=使用错误- 使用equals()比较不同类型EI_EXPOSE_STATIC_=恶意代码漏洞- 把可变对象保存到静态字段中可能会暴露内部静态状态DMI_INVOKING_TOSTRING_ON_ANONYMOUS_=错误- 对数组执行toStringSIC_INNER_SHOULD_BE_STATIC_=性能- 可以重构成一个静态内部类STI_INTERRUPTED_ON_=错误- 在thread实例上调用了静态Thread.interrupted()方法CN_IDIOM_NO_SUPER_=不良实践- clone方法没有调用super.clone()VA_FORMAT_STRING_BAD_=错误用法- 格式化字符串占位符与传入的参数不匹配EQ_DOESNT_OVERRIDE_=高危- 类没有覆盖父类的equals方法BC_IMPOSSIBLE_DOWNCAST_OF_=错误用法- 集合转换为数组元素时发生的类型转换错误SE_NO_SUITABLE_CONSTRUCTOR_FOR_=不良实践- 类是可扩展的,但是没有提供无参数的构造方法TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_=错误用法- 数值需要类型标示,但是却标记为未知SIC_INNER_SHOULD_BE_STATIC_NEEDS_=性能- 可以筹够成一个静态内部类EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_=不良实践- equals检测不兼容的参数操作RV_RETURN_VALUE_OF_PUTIFABSENT_=错误用法- 忽略了putIfAbsent的返回值,传递给putIfAbsent的值被重用STCAL_INVOKE_ON_STATIC_CALENDAR_=多线程错误- 调用静态CalendarMS_CANNOT_BE_=恶意代码漏洞- 字段不是final的,不能防止恶意代码的攻击IS_INCONSISTENT_=多线程错误- 不一致的同步SE_NO_=不良实践- 类是可序列化的,但是没有定义serialVersionUIDEI_EXPOSE_=恶意代码漏洞- 可能暴露内部实现,通过与可变对象引用协作NM_METHOD_CONSTRUCTOR_=错误用法- 明显的方法/构造方法混淆ICAST_INTEGER_MULTIPLY_CAST_TO_=高危- 整形乘法的结果转换为long型QF_QUESTIONABLE_FOR_=高危- for循环中存在复杂,微妙或者错误的自增DLS_DEAD_STORE_OF_CLASS_=错误用法- 类中保存了无用字符NM_FUTURE_KEYWORD_USED_AS_MEMBER_=不良实践- 使用了未来java版本中成为关键字的标识BC_VACUOUS_=高危- instanceof会一直返回trueINT_VACUOUS_BIT_=高危- 在整形上进行位操作时有一些位上出现空洞NP_NULL_=错误用法- 一个已知的null值被检测它是否是一个类型的实例SIC_THREADLOCAL_DEADLY_=错误用法- 非静态内部类和ThreadLocal的致命结合EQ_=高危- 罕见的equals方法IJU_NO_=错误用法- TestCase没有任何测试EQ_OVERRIDING_EQUALS_NOT_=错误用法- equals方法覆盖了父类的equals可能功能不符XFB_XML_FACTORY_=高危- 方法直接调用了xml接口的一个具体实现SWL_SLEEP_WITH_LOCK_=多线程错误- 方法在获得锁时调用了Thread.sleep()CN_=不良实践- 类实现了Cloneable ,但是没有定义或使用clone方法WA_AWAIT_NOT_IN_=多线程错误- 未在循环中使用的Condition.await()DM_FP_NUMBER_=性能- 方法调用了低效的浮点书构造方法;应该使用静态的valueOf代替SF_SWITCH_NO_=Switch语句中没有包含defaultNP_NULL_ON_SOME_PATH_FROM_RETURN_=高危- 调用返回返回值可能出现null值NP_CLONE_COULD_RETURN_=不良实践- Clone方法可能返回nullMS_OOI_=恶意代码漏洞- 属性应该从接口中移除并将访问权限设置为包保护DM_BOXED_PRIMITIVE_=性能- 方法使用了装箱的基本类型只为了调用toStringEQ_ABSTRACT_=不良实践- 抽象类定义了协变的equals方法DM_STRING_=性能- 方法调用了String的toString()方法SE_METHOD_MUST_BE_=错误用法- 方法必须是private的为了让序列化正常工作DL_SYNCHRONIZATION_ON_=多线程错误- 在Boolean上使用同步可能导致死锁UWF_UNWRITTEN_=错误用法- 未赋值属性IS2_INCONSISTENT_=多线程错误- 不一致的同步IM_AVERAGE_COMPUTATION_COULD_=高危- 计算平均值可能溢出BIT_SIGNED_CHECK_HIGH_=错误用法- 检查位运算的符号FL_MATH_USING_FLOAT_=错误用法- 方法进行数学运算时使用了浮点数的精度WS_WRITEOBJECT_=多线程错误- 类的writeObject()方法是同步的,但是没有做其他事情RV_RETURN_VALUE_=错误用法- 方法忽略了返回值SQL_NONCONSTANT_STRING_PASSED_TO_=安全风险- 非常量的字符串传递给方法执行SQL语句JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_=不良实践- 不可变的类的属性应该是finalAM_CREATES_EMPTY_ZIP_FILE_=不良实践- 创建了一个空的zip文件的入口DM_NEXTINT_VIA_=性能- 使用Random的nextInt方法来获得一个随机整数,而不是nextDouble UI_INHERITANCE_UNSAFE_=不良实践- 如果类被扩展,GetResource的使用可能就是不安全的SIO_SUPERFLUOUS_=错误用法- 不必要的类型检测使用instanceof操作符EQ_OTHER_NO_=错误用法- equals()方法定义,但是没有覆盖equals(Object)USM_USELESS_ABSTRACT_=试验- 抽象方法已经在实现的接口中定义了MTIA_SUSPECT_SERVLET_INSTANCE_=高危- 扩展Servlet的类使用了实例变量DM_USELESS_=多线程错误- 使用默认的空run方法创建了一个线程ML_SYNC_ON_UPDATED_=多线程错误- 方法在一个修改了的属性上进行了同步CO_SELF_NO_=不良实践- 协变的compareTo()定义BC_UNCONFIRMED_=高危- 未检查/未证实的类型转换FI_FINALIZER_NULLS_=不良实践- Finalizer空属性BIT_=错误用法- 不兼容的位掩码(BIT_AND)FE_FLOATING_POINT_=高危- 测试浮点数相等TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_=错误用法- 值不要求有类型标示,但是标记为未知NP_NULL_PARAM_=错误用法- 方法调用把null传递给一个非null参数FB_MISSING_EXPECTED_=试验- findbugs丢失了期待或需要的警告DMI_INVOKING_HASHCODE_ON_=错误用法- 在数组上调用了hashCodeQBA_QUESTIONABLE_BOOLEAN_=错误用法- 方法在布尔表达式中分配了boolean文字SA_FIELD_SELF_=错误用法- 属性自己与自己进行了比较UR_UNINIT_READ_CALLED_FROM_SUPER_=错误用法- 父类的构造方法调用未初始化属性的方法ES_COMPARING_PARAMETER_STRING_WITH_EQ.na me=不良实践- 比较字符串参数使用了== 或!=INT_BAD_COMPARISON_WITH_NONNEGATIVE_=错误用法- 错误比较非负值与负数INT_BAD_COMPARISON_WITH_SIGNED_=错误用法- 错误比较带符号的byteIO_APPENDING_TO_OBJECT_OUTPUT_=错误用法- 尝试向一个对象输出流添加信息FI_MISSING_SUPER_=不良实践- Finalizer没有调用父类的finalizerVA_FORMAT_STRING_EXTRA_ARGUMENTS_=错误用法- 传递了多余实际使用的格式化字符串的参数HE_EQUALS_USE_=不良实践- 类定义了equals(),但使用了Object.hashCode()IJU_BAD_SUITE_=错误用法- TestCase声明了一个错误的suite方法DMI_CONSTANT_DB_=安全风险- 硬编码了数据库密码REC_CATCH_=高危- 捕获了没有抛出的异常PS_PUBLIC_=高危- 类在公用接口中暴露了同步和信号EC_UNRELATED_=错误用法- 调用equals()比较不同的接口类型UCF_USELESS_CONTROL_FLOW_NEXT_=错误用法- 执行到下一行的无用流程控制LG_LOST_LOGGER_DUE_TO_WEAK_=试验- OpenJDK中存在潜在的丢失logger的风险,因为弱引用NP_UNWRITTEN_=错误用法- 读取未初始化的属性DMI_UNSUPPORTED_=高危- 调用不支持的方法RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_=高危- 重复比较非空值和nullEC_BAD_ARRAY_=错误用法- 调用equals(),与==效果一样EI_EXPOSE_=恶意代码漏洞- 可能通过返回一个可变对象的引用暴露了内部实现NP_DEREFERENCE_OF_READLINE_=高危- 没有判断readLine()的结果是否为空UPM_UNCALLED_PRIVATE_=性能- 从未用到的私有方法NP_NULL_ON_SOME_=错误用法- 可能出现空指针引用NP_EQUALS_SHOULD_HANDLE_NULL_=不良实践- equals()方法没有检测null参数EC_NULL_=错误用法- 使用空参数调用equals()SE_BAD_FIELD_=不良实践- 非序列化值保存在序列化类的实例变量中VO_VOLATILE_REFERENCE_TO_=多线程错误- 数组的volatile引用不会把数组元素也当做volatile来引用NP_SYNC_AND_NULL_CHECK_=多线程错误- 同步和空值检测发生在同一个属性上DM_=不良实践- 方法调用了System.exit(...)RC_REF_=不良实践- 怀疑进行了引用比较SE_NO_SUITABLE_=不良实践- 类是可序列化的,但是父类没有定义无参数构造方法DC_=多线程错误- 可能对属性进行了双重检测DMI_LONG_BITS_TO_DOUBLE_INVOKED_ON_=错误用法- 在int上调用了Double.longBitsToDouble RpC_REPEATED_CONDITIONAL_=错误用法- 重复判断条件WMI_WRONG_MAP_=性能- keySet迭代是低效的,使用entrySet代替DLS_DEAD_LOCAL_=高危- 未用的局部变量INT_BAD_REM_BY_=错误用法- 整数剩余模1RV_RETURN_VALUE_IGNORED_BAD_=不良实践- 方法忽略异常返回值SA_LOCAL_SELF_=高危- 局部变量的自我赋值MS_SHOULD_BE_=恶意代码漏洞- 属性不是final,但是应该设置成finalSIC_INNER_SHOULD_BE_=性能- 应该是一个静态内部类NP_GUARANTEED_=错误用法- null值一定会被调用SE_READ_RESOLVE_MUST_RETURN_=不良实践- readResolve方法必须返回ObjectNP_LOAD_OF_KNOWN_NULL_=高危- 加载了已知的null值BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_=性能- 基本数据被装箱又被拆箱CN_IMPLEMENTS_CLONE_BUT_NOT_=不良实践- 类定义了clone()但没有实现CloneableCO_ABSTRACT_=不良实践- 抽象类定义了协变的compareTo()方法BAC_BAD_APPLET_=试验- 错误的Applet构造方法依赖未初始化的AppletStubEQ_GETCLASS_AND_CLASS_=不良实践- equals方法因为子类失败DB_DUPLICATE_SWITCH_=高危- 在两个switch语句中使用了相同的代码DB_DUPLICATE_=高危- 在两个分支中使用了相同的代码UOE_USE_OBJECT_=试验- 在final类上调用了equals,但是没有覆盖Object的equals方法FI_=不良实践- Finalizer除了调用父类的finalizer以外什么也没做NP_ALWAYS_=错误用法- 调用了null指针DMI_VACUOUS_SELF_COLLECTION_=错误用法- 集合的调用不能被感知DLS_DEAD_LOCAL_STORE_IN_=错误用法- 返回语句中的无用的赋值IJU_ASSERT_METHOD_INVOKED_FROM_RUN_=错误用法- 在run方法中的JUnit检验不能报告给JUnitDMI_EMPTY_DB_=安全风险- 空的数据库密码DM_BOOLEAN_=性能- 方法调用了低效的Boolean构造方法;使用Boolean.valueOf(...)代替BC_IMPOSSIBLE_=错误用法- 不可能转型BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_=不良实践- Equals方法不应该假设任何有关参数类型的事宜RV_EXCEPTION_NOT_=错误用法- 异常创建后就丢弃了,没有抛出VA_PRIMITIVE_ARRAY_PASSED_TO_OBJECT_=错误用法- 基本类型数组传递给一个期待可变对象类型参数的方法LI_LAZY_INIT_UPDATE_=多线程错误- 错误的延迟初始化和更新静态属性SA_FIELD_SELF_=错误用法- 属性自身赋值EQ_ALWAYS_=错误用法- equals方法一直返回falseDMI_RANDOM_USED_ONLY_=不良实践- Random对象创建后只用了一次NM_CLASS_NOT_=不良实践- Class没有继承Exception,虽然名字像一个异常SA_LOCAL_DOUBLE_=高危- 给局部变量双重赋值NP_NULL_PARAM_DEREF_ALL_TARGETS_=错误用法- 方法调用传递null给非空参数(ALL_TARGETS_DANGEROUS)NP_TOSTRING_COULD_RETURN_=不良实践- toString方法可能返回nullBC_BAD_CAST_TO_ABSTRACT_=高危- 转换成抽象集合值得怀疑NM_LCASE_=类定义了hashcode(); 应该是hashCode()吧?RU_INVOKE_=多线程错误- 在线程中调用了run(你的意思是再启动一次么?)DMI_INVOKING_TOSTRING_ON_=错误用法- 调用了数组的toStringNM_METHOD_NAMING_=方法名应该以小写字母开头RCN_REDUNDANT_COMPARISON_TWO_NULL_=高危- 重复比较两个null值SA_LOCAL_SELF_=错误用法- 对一个变量进行无意义的自我计算(比如x & x)MS_MUTABLE_=恶意代码漏洞- 属性是可变的HashtableRV_DONT_JUST_NULL_CHECK_=高危- 方法丢掉了readLine的结果,在检测它是非空之后。
errno错误对照表errno错误对照表:errno0 : Successerrno1 : Operation not permittederrno2 : No such file or directoryerrno3 : No such processerrno4 : Interrupted system callerrno5 : Input/output errorerrno6 : No such device or addresserrno7 : Argument list too longerrno8 : Exec format errorerrno9 : Bad file descriptorerrno10 : No child processeserrno11 : Resource temporarily unavailableerrno12 : Cannot allocate memoryerrno13 : Permission deniederrno14 : Bad addresserrno15 : Block device requirederrno16 : Device or resource busyerrno17 : File existserrno18 : Invalid cross-device linkerrno19 : No such deviceerrno20 : Not a directoryerrno21 : Is a directoryerrno22 : Invalid argumenterrno23 : Too many open files in systemerrno24 : Too many open fileserrno25 : Inappropriate ioctl for deviceerrno26 : Text file busyerrno27 : File too largeerrno28 : No space left on deviceerrno29 : Illegal seekerrno30 : Read-only file systemerrno31 : Too many linkserrno32 : Broken pipeerrno33 : Numerical argument out of domainerrno34 : Numerical result out of rangeerrno35 : Resource deadlock avoidederrno36 : File name too longerrno37 : No locks availableerrno38 : Function not implementederrno39 : Directory not emptyerrno40 : Too many levels of symbolic links errno41 : Unknown error 41errno42 : No message of desired typeerrno43 : Identifier removederrno44 : Channel number out of rangeerrno45 : Level 2 not synchronizederrno46 : Level 3 haltederrno47 : Level 3 reseterrno48 : Link number out of rangeerrno49 : Protocol driver not attachederrno50 : No CSI structure availableerrno51 : Level 2 haltederrno52 : Invalid exchangeerrno53 : Invalid request descriptorerrno54 : Exchange fullerrno55 : No anodeerrno56 : Invalid request codeerrno57 : Invalid sloterrno58 : Unknown error 58errno59 : Bad font file formaterrno60 : Device not a streamerrno61 : No data availableerrno62 : Timer expirederrno63 : Out of streams resourceserrno64 : Machine is not on the networkerrno65 : Package not installederrno66 : Object is remoteerrno67 : Link has been severederrno68 : Advertise errorerrno69 : Srmount errorerrno70 : Communication error on senderrno71 : Protocol errorerrno72 : Multihop attemptederrno73 : RFS specific errorerrno74 : Bad messageerrno75 : Value too large for defined datatype errno76 : Name not unique on networkerrno77 : File descriptor in bad stateerrno78 : Remote address changederrno79 : Can not access a needed sharedlibrary errno80 : Accessing a corrupted sharedlibraryerrno81 : .lib section in a.out corruptederrno82 : Attempting to link in too manyshared libraries errno83 : Cannot exec a shared librarydirectlyerrno84 : Invalid or incomplete multibyte orwide character errno85 : Interrupted system call should berestarted errno86 : Streams pipe errorerrno87 : Too many userserrno88 : Socket operation on non-socketerrno89 : Destinationaddress requirederrno90 : Message too longerrno91 : Protocol wrong type for socketerrno92 : Protocol not availableerrno93 : Protocol not supportederrno94 : Socket type not supportederrno95 : Operation not supportederrno96 : Protocol family not supportederrno97 : Address family not supported byprotocol errno98 : Address already in useerrno99 : Cannot assign requested addresserrno100 : Network is downerrno101 : Network is unreachableerrno102 : Network dropped connection onreseterrno103 : Software caused connection aborterrno104 : Connection reset by peererrno105 : No buffer space availableerrno106 : Transport endpoint is alreadyconnectederrno107 : Transport endpoint is notconnectederrno108 : Cannot send after transportendpoint shutdown errno109 : Too many references: cannot spliceerrno110 : Connection timed outerrno111 : Connection refusederrno112 : Host is downerrno113 : No route to hosterrno114 : Operation already in progresserrno115 : Operation now in progresserrno116 : Stale NFS file handleerrno117 : Structure needs cleaningerrno118 : Not a XENIX named type fileerrno119 : No XENIX semaphores availableerrno120 : Is a named type fileerrno121 : Remote I/O errorerrno122 : Disk quota exceedederrno123 : No medium founderrno124 : Wrong medium typeerrno125 : Operation cancelederrno126 : Required key not availableerrno127 : Key has expirederrno128 : Key has been revokederrno129 : Key was rejected by service errno130 : Owner diederrno131 : State not recoverableerrno132 : Operation not possible due toRF-kill errno133 : Unknown error 133errno134 : Unknown error 134errno135 : Unknown error 135errno136 : Unknown error 136errno137 : Unknown error 137errno138 : Unknown error 138errno139 : Unknown error 139。
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 [无效的函数结果类型]bel 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]74.constant and case types do not match [常数与CASE类型不相匹配]75.Record variable expected [缺记录变量]76.Constant out of range [常量越界]77.File variable expected [缺文件变量]78.Pointer extression expected [缺指针变量]79.Integer or real expression expected [缺整型或实型表达式]ble not within current block [标号不在当前块中]ble 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 in 8087 mode 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 evalu te 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 u nit [无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/287 Instructions are not enabled [未激活286/287指令]160.Invalid symbol reference [无效符号引用]161.Code generation error [代码生成错]162.ASM expected [缺ASM]二、运行错误运行错误将显示错误信息,并终止程序的运行。
C++出错提示英汉对照表Ambiguous operators need parentheses -----------不明确的运算需要用括号括起Ambiguous symbol ''xxx'' ----------------不明确的符号Argument list syntax error ----------------参数表语法错误Array bounds missing ------------------丢失数组界限符Array size toolarge -----------------数组尺寸太大Bad character in paramenters ------------------参数中有不适当的字符Bad file name format in include directive --------------------包含命令中文件名格式不正确Bad ifdef directive synatax ------------------------------编译预处理ifdef有语法错Bad undef directive syntax ---------------------------编译预处理undef有语法错Bit field too large ----------------位字段太长Call of non-function -----------------调用未定义的函数Call to function with no prototype ---------------调用函数时没有函数的说明Cannot modify a const object ---------------不允许修改常量对象Case outside of switch ----------------漏掉了case 语句Case syntax error ------------------ Case 语法错误Code has no effect -----------------代码不可述不可能执行到Compound statement missing{ --------------------分程序漏掉"{"Conflicting type modifiers ------------------不明确的类型说明符Constant expression required ----------------要求常量表达式Constant out of range in comparison -----------------在比较中常量超出范围Conversion may lose significant digits -----------------转换时会丢失意义的数字Conversion of near pointer not allowed -----------------不允许转换近指针Could not find file ''xxx'' -----------------------找不到XXX文件Declaration missing ; ----------------说明缺少";" houjiumingDeclaration syntax error -----------------说明中出现语法错误Default outside of switch ------------------ Default 出现在switch语句之外Define directive needs an identifier ------------------定义编译预处理需要标识符Division by zero ------------------用零作除数Do statement must have while ------------------ Do-while语句中缺少while部分Enum syntax error ---------------------枚举类型语法错误Enumeration constant syntax error -----------------枚举常数语法错误Error directive :xxx ------------------------错误的编译预处理命令Error writing output file ---------------------写输出文件错误Expression syntax error -----------------------表达式语法错误Extra parameter in call ------------------------调用时出现多余错误File name too long ----------------文件名太长Function call missing -----------------函数调用缺少右括号Fuction definition out of place ------------------函数定义位置错误Fuction should return a value ------------------函数必需返回一个值Goto statement missing label ------------------ Goto语句没有标号Hexadecimal or octal constant too large ------------------16进制或8进制常数太大Illegal character ''x'' ------------------非法字符xIllegal initialization ------------------非法的初始化Illegal octal digit ------------------非法的8进制数字houjiumingIllegal pointer subtraction ------------------非法的指针相减Illegal structure operation ------------------非法的结构体操作Illegal use of floating point -----------------非法的浮点运算Illegal use of pointer --------------------指针使用非法Improper use of a typedefsymbol ----------------类型定义符号使用不恰当In-line assembly not allowed -----------------不允许使用行间汇编Incompatible storage class -----------------存储类别不相容Incompatible type conversion --------------------不相容的类型转换Incorrect number format -----------------------错误的数据格式Incorrect use of default --------------------- Default使用不当Invalid indirection ---------------------无效的间接运算Invalid pointer addition ------------------指针相加无效Irreducible expression tree -----------------------无法执行的表达式运算Lvalue required ---------------------------需要逻辑值0或非0值Macro argument syntax error -------------------宏参数语法错误Macro expansion too long ----------------------宏的扩展以后太长Mismatched number of parameters in definition ---------------------定义中参数个数不匹配Misplaced break ---------------------此处不应出现break语句Misplaced continue ------------------------此处不应出现continue语句Misplaced decimal point --------------------此处不应出现小数点Misplaced elif directive --------------------不应编译预处理elifMisplaced else ----------------------此处不应出现else houjiumingMisplaced else directive ------------------此处不应出现编译预处理elseMisplaced endif directive -------------------此处不应出现编译预处理endifMust be addressable ----------------------必须是可以编址的Must take address of memory location ------------------必须存储定位的地址No declaration for function ''xxx'' -------------------没有函数xxx的说明No stack ---------------缺少堆栈No type information ------------------没有类型信息Non-portable pointer assignment --------------------不可移动的指针(地址常数)赋值Non-portable pointer comparison --------------------不可移动的指针(地址常数)比较Non-portable pointer conversion ----------------------不可移动的指针(地址常数)转换Not a valid expression format type ---------------------不合法的表达式格式Not an allowed type ---------------------不允许使用的类型Numeric constant too large -------------------数值常太大Out of memory -------------------内存不够用houjiumingParameter ''xxx'' is never used ------------------能数xxx没有用到Pointer required on left side of -> -----------------------符号->的左边必须是指针Possible use of ''xxx'' before definition -------------------在定义之前就使用了xxx(警告)Possibly incorrect assignment ----------------赋值可能不正确Redeclaration of ''xxx'' -------------------重复定义了xxxRedefinition of ''xxx'' is not identical ------------------- xxx的两次定义不一致Register allocation failure ------------------寄存器定址失败Repeat count needs an lvalue ------------------重复计数需要逻辑值Size of structure or array not known ------------------结构体或数给大小不确定Statement missing ; ------------------语句后缺少";"Structure or union syntax error --------------结构体或联合体语法错误Structure size too large ----------------结构体尺寸太大Sub scripting missing ] ----------------下标缺少右方括号Superfluous & with function or array ------------------函数或数组中有多余的"&"Suspicious pointer conversion ---------------------可疑的指针转换Symbol limit exceeded ---------------符号超限Too few parameters in call -----------------函数调用时的实参少于函数的参数不Too many default cases ------------------- Default太多(switch语句中一个)Too many error or warning messages --------------------错误或警告信息太多Too many type in declaration -----------------说明中类型太多houjiumingToo much auto memory in function -----------------函数用到的局部存储太多Too much global data defined in file ------------------文件中全局数据太多Two consecutive dots -----------------两个连续的句点Type mismatch in parameter xxx ----------------参数xxx类型不匹配Type mismatch in redeclaration of ''xxx'' ---------------- xxx重定义的类型不匹配Unable to create output file ''xxx'' ----------------无法建立输出文件xxxUnable to open include file ''xxx'' ---------------无法打开被包含的文件xxxUnable to open input file ''xxx'' ----------------无法打开输入文件xxxUndefined label ''xxx'' -------------------没有定义的标号xxxUndefined structure ''xxx'' -----------------没有定义的结构xxxUndefined symbol ''xxx'' -----------------没有定义的符号xxxUnexpected end of file in comment started on line xxx ----------从xxx行开始的注解尚未结束文件不能结束Unexpected end of file in conditional started on line xxx ----从xxx 开始的条件语句尚未结束文件不能结束Unknown assemble instruction ----------------未知的汇编结构houjiumingUnknown option ---------------未知的操作Unknown preprocessor directive: ''xxx'' -----------------不认识的预处理命令xxxUnreachable code ------------------无路可达的代码Unterminated string or character constant -----------------字符串缺少引号User break ----------------用户强行中断了程序V oid functions may not return a value ----------------- V oid类型的函数不应有返回值Wrong number of arguments -----------------调用函数的参数数目错''xxx'' not an argument ----------------- xxx不是参数''xxx'' not part of structure -------------------- xxx不是结构体的一部分xxx statement missing ( -------------------- xxx语句缺少左括号xxx statement missing ) ------------------ xxx语句缺少右括号xxx statement missing ; -------------------- xxx缺少分号houjiumingxxx'' declared but never used -------------------说明了xxx但没有使用xxx'' is assigned a value which is never used ----------------------给xxx赋了值但未用过Zero length structure ------------------结构体的长度为零。
PASCAL程序编译错误信息PASCAL程序编译、运行过程中的出错信息PASCAL程序有两种类型的错误,一种是在编译时出现的错误,叫编译时错误,另一种是运行时出现的错误,叫运行时错误。
一、编译时错误:如果程序编译过程中出现错误,一般会在PASCAL窗口菜单下出现红色错误信息条,以“ERRORXX:……”形式出现,按“ESC”键取消后,光标会停在可能出错的物理或逻辑位置。
具体的错误语句如下:1、“;”EXPECTED含义是是:缺少“;”----分号。
2、“:=”EXPECTED把赋值号“:=”写成了等号“=”或冒号“:”3、“)”EXPECTED表达式缺少“)”4、“(”EXPECTED表达式缺少“(”5、“[”EXPECTED表达式缺少‘[’6、“]”EXPECTED表达式缺少‘]’7、“.”EXPECTED表达式缺少“.”8、“..”EXPECTED表达式缺少“..”9、“END”EXPECTED表达式缺少‘END[’10、“DO”EXPECTED表达式缺少‘DO’11、“OF”EXPECTED表达式缺少“OF”12、“PROCEDURE”OR“FUNCTION”EXPECTED缺少“procedure”或“function”13、“THEN”EXPECTED缺少“then”;14、“TO”OR“DOWNTO”EXPECTED缺少“TO”或“DOWNTO”15、BOOLEAN EXPRESSION EXPECTED布尔表达式存在错误16、file variable expected文件型变量使用错误17、integer constant expected没有对整型常量进行说明18、integer expression expected将整型表达式写成了其他类型19、integer variable expected应该用整型变量20、integer or real constant expected应该用整型或实型变量21、integer or real expression expected应该用整型或实型表达式22、integer or real variable expected应该用整型或实型变量23、pointer variable expected应该用指针变量24、record variable expected应该用记录变量25、simple type expected应该用简单数据类型26、simple expression expected应该用简单数据类型构成的表达式27、string constant expected应该用字符串常量28、string expression expected应该用字符串表达式29、string variable expected应该用字符串变量30、textfile expected使用的文本文件未定义31、type indetifier expected使用了未定义的类型名32、untyped file expected使用了未定义文件33、unknow identifier or syntax error未知的标号、常数、变量、标识符34、undefined label一个语句中引用了未定义的标号35、undefined pointer type in preceding type definitions指针类型定义中包含了对一个未知类型的标识符引用36、duplicate identifier or label标识符或标号已经出现过了37、type mismatch类型不匹配38、constant out of range常量超出范围39、constant and case selector type does not match CASE语句中的枚举分量不匹配40、operand type does not match operator操作数类型不和要求41、invalid result type不合法的结果类型42、invalid string length字符串长度越界,必须在1..25之间43、string constant length does not match type字符串常量的长度不匹配44、invalid subrange base bound基类型不允许是实型数45、lower bound>upper bound子界型的下界大于上界了46、reserved word保留字不许用来作标识符47、illegal assignment非法任务48、string constant exceeds line字符串常数不许跨行49、error in integer constant整型常数错误50、error in real constant实型常数错误51、illegal character in identifier在标识符中出现了不合法的字符52、constants are not allowed here变量不能在这儿使用53、files and pointers are not allowed here文件和指针不能在这儿使用54、structured variables are not allowed here结构体不能在这儿使用55、textfiles are not allowed here文本文件不能在这使用56、untyped files are not allowed here未定义的文件类型不能在这儿使用57、i/o not allowed here这种类型的变量不能输入/输出58、files must be var parameters文件类型必须在变量部分说明59、files components may not be files file of file这种构造类型不允许60、invalid ordering of fields域的引用顺序不对61、set base type out of range集合的基类型必须是意义个不多于256个可能值的标量或子界,其界值范围在0..255之间62、invalid goto GOTO语句不允许在一个FOR循环外引用其内的标号63、label not within current block GOTO语句不能引用当前分程序外的标号64、undefined forward procedure一个子程序已经向前定义了,但其子程序没有出现65、inline error行错误66、illegal use of absolute绝对变量说明不合法67、overlays can not be forwarded:FORWARDED说明不能与覆盖一起使用68、overlays not allowed in direct mode只有将程序编译到一个文件时才能用覆盖69、file not found指定的文件不存在70、unexpected end of source程序不能这样结束,一般是因为程序中的END比BEGIN少71、unable to create overlay file建立的新文件不能覆盖已存在的文件72、invalid compile directive不正确的编译方向73、too many nested withs嵌套的WITH语句太多74、memory overflow需要的内存空间太多,无法分配75、compiler overflow没有足够的内存空间运行你的程序,可以把源程序分成几个小的部分,并使用包括文件除了编译时错误外,在程序的运行过程中,可能会发生很多意想不到的错误,往往会导致程序终止运行甚至死机,有时会在屏幕下显示一些出错信息,如RUN-TIME ERROR XX等,要注意查找出错原因,一般有以下几种情况:01、浮点溢出;02、零做除数;03、SQRT(X)的自变量为负数;04、LN(X)的自变量为负数;05、字符串长度>255,或者想把长度大于1的字符串转成字符类型;06、非法串下标,主要是在用COPY,DELETE,INSERT等字符串函数时下标表达式的范围超出1..25;07、数组下标越界;08、标量或子界越界;09、整数越界,如在传给TRUNC(X)或ROUND(X)的不在-32768至32767之间;10、覆盖文件未找到;11、堆栈冲突;12、文件不存在:如用reset erase,rename,execute,chain等操作的文件名字不存在;13、输入/输出文件未打开,未用reset,rewrite预先打开文件就试图对文件进行操作;14、文件过大:记录数大于65535;15、打开文件太多;16、文件已消失:用CLOSE关闭一个并不存在的文件。
Free Pascal 运行错误1 插入了无效函数或执行了无效命令2 找不到文件(地球人都知道)3 找不到路径(按路径没有找到文件)4 打开文件太多了(noip会出这种错误吗?)5 拒绝文件路径分类:试图对一个只能读的文件进行写入,如字典;文件当前被锁死或被另一个进程修改中;试图新建一个与已有文件重名的字典或文件;试图对只作为读模式打开的文件进行写入;试图对只作为写模式打开的文件进行读入;试图移动一个不可能移动的文件;不允许打开这个文件或词典;6 无效的文件处理:你使用的文件变量被删除。
这暗示着文件所在的存储器损坏。
12 非法路径规则:reset或rewrite命令使用在了一个无效的文件模式。
15 驱动器盘符错误:给过程Getdir或ChDir的数字指示了一个不存在的盘符。
(什么?你问我geidir/chdir是什么?)16 不能移动当前的词典文件(辞典?)你试图移动一个当前处于活动状态(即打开的)的辞典。
17 不能对交叉驱动器进行重命名。
交叉文件:across的直译,指一种在另一个磁盘结尾或者在隔离区结尾的文件。
100 磁盘读取错误:在读磁盘时发生的错误,特别是你试图读过(超过)一个文件的末尾时~101 磁盘写入错误:你的磁盘满了吧!102 没有对文件进行assign操作对文件进行reset, rewrite, append, rename, erase中的任何一个操作前都应该对这个文件进行assign!- 1 -103 文件没有打开:对文件进行close, read, write, seek, EOf, FilePos, FileSize, Flush, BlockRead, BlockWrite而没有打开这个文件。
104 文件没有进行input打开:reset语句没有使用。
105 文件没有进行output打开:rewrite语句没有使用。
106 无效的数字形式:当需要读一个数字时,从text文件中却读入了一个其他形式的东西。
Free Pascal错误一览表1、 Run Time Errors 运行错误(A)DOS 错误代码:1:无效DoS功能号2:文件末找到3:路径未找到4:打开文件过多5:禁止文件存取6:无效文件句柄12:无效文件存取代码15:无效驱动器号16:不能删除当前日录17:不能跨驱动器改文件名(B)I/O错误100:磁盘读错误101:磁盘写错误102:文件变量末赋值103:文件未打开104:文件未用输入方式打开105:文件末用输出方式打开106:无效数字格式(C)严重错误150:磁盘写保护15l:未知单元152:驱动器未准备好153:未知命令154:数据CRC校验错155:驱动器请求的结构长度错156:磁盘定位错157:未知媒介类型158:扇区末找到159:打印机缺纸160:设备写失败161:设备读失败162:硬件故障(D)致命错误200:被零除20l:范围检查错202:堆栈溢出错203:堆溢出错204:无效指针操作205:浮点上溢出206:浮点下溢出207:无效浮点运算208:未安装覆盖管理程序209:覆盖文件读错210:对象未初始化211:调用抽象方法212:流登计错213:集合下标越界214:集合溢出215:算术上溢错误216:存取非法217:控制-C218:授权指令219:无效的TYPECAST220:无效的变体TYPECAST221:无效的变体操作222:没有变体方法调用DISPATCHER223:不能建立变体数组224:变体不包含数组225:变体数组边界错误226:TLS初始化错误2、编译错误对照表下面列出在编译程序时可能出现的错误,在集成环境下,Pascal将自动加载源程序并定位于出错处。
1:内存溢出2:缺标识符3:标识符未定义4:标识符重定义5:语法错误6:实型常量错7:整型常量错8:字符串常量跨行9:文件嵌套过多10:非正常文件结束11:行过长12:缺类型标识符13:打开文件过多14:无效文件名15:文件未找到16:磁盘满17:无效编译指示18:文件过多19:指针定义中未定义类型20:缺变量标识符21:类型错误22:结构过长24:文件分量不能为文件25:无效字符串长度26:类型不匹配27:无效子界基类型28:下界大于上界29:缺有序类型30:缺整型常数31:缺常数32:缺整型或实型常数33:缺指针类型标识符34:无效的函数结果类型35:缺标号标识符36:缺BEGIN37:缺END38:缺整型表达式39:缺有序表达式40:缺布尔表达式41:操作数类型与操作符不匹配42:表达式错43:非法赋值44:缺字段标识符45:目标文件过长46:未定义外部标识符47:无效*.OBJ文件记录48:代码段过长49:数据段过长50:缺DO51:无效PUBLIC定义52:无效EXTRN定义53:EXTRN定义过多54:缺0F55:缺INTERFACE56:无效重定位引用57:缺THEN58:缺T0或DOWNTO59:未定义的向前引用60:过程过多61:无效类型转换62:被零除D63:无效文件类型64:不能读写该类型的变量65:缺指针变量66:缺字符串变量67:缺字符串表达式68:单元循环引用69:单元名不匹配70:单元版本不匹配71:单元重名72:单元文件格式错误73:缺IMPLEMENTATl0N74:常数与CASE类型不相匹配75:缺记录变量76:常数越界77:缺文件变量78:缺指针变量79:缺整型或实型表达式80:标号不在当前块中81:标号已定义82:标号未定义83:无效参数84:缺UNIT85:缺“;”86:缺“:”87:缺“,”88:缺“(”89:缺“)”90:缺“=”91:缺“:=”92:缺“[”或“(.” 93:缺“]”或“.)” 94:缺“.”96:变量过多97:无效FOR控制变量98:缺整型变量99:此处不允许用文件和100:字符串长度不匹配101:无效字顺序102:缺字符串常数103:缺整型或实型变量104:缺有序变量105:INLINE错106:缺字符表达式107:重定位项过多112:CASE常量越界113:语句错114:不能调用中断过程116:必须在8087方式下编译117:末找到目标地址118:此处不允许包含文件120:缺NIL121:无效限定符122:无效变量引用123:符号过多124:语句部分过长126:文件必须为变量参数127:条件符号过多128:条件指令错位130:初始条件定义错13l:过程和函数头与前面定义的不匹酉132:严重磁盘错误133:不能计算该表达式134:表达式错误结束l35:无效格式说明符136:无效间接引用137:此处不允许结构变量138:无SYSTEM单元不能计算l39:不能存取该符号140:无效浮点运算141:不能将覆盖编译至内存142:缺过程和函数变量143:无效过程或函数引用144:不能覆盖该单元147:缺对象类型148:不允许局部对象类型149:缺VIRTUAL150:缺方法标识符151:不允许虚拟构造方法152:缺构造方法标识符153:缺释放方法标识符154:FAIL只允许在构造方法内使用155:无效的操作符和操作数组合156:缺内存引用l57:不能加减可重定位符号158:无效寄存器组合159:未激活286/287指令160:无效符号引用161:代码生成错162:缺ASM。
上次有个无人品淫兽用了ctrl+x,这次注意,我重发一遍Pascal运行错误对照表运行错误是指程序运行时出现的错误,当发生时,Turbo Pascal显示如下信息:RUNTIME ERROR NNNN AT XXXX:YYYY其中,nnnn是运行错误代码,xxxx是错误发生的程序段,yyyy是错误地址偏移。
DOS 错误代码:1无效DoS功能号2文件末找到3路径未找到4打开文件过多5禁止文件存取6无效文件句柄12无效文件存取代码15无效驱动器号16不能删除当前日录17不能跨驱动器改文件名I/O错误100磁盘读错误101磁盘写错误102文件变量末赋值103文件未打开104文件未用输入方式打开105文件末用输出方式打开106无效数字格式严重错误150磁盘写保护15l未知单元152驱动器未准备好153未知命令154数据CRC校验错155驱动器请求的结构长度错156磁盘定位错157未知媒介类型158扇区末找到159打印机缺纸160设备写失败161设备读失败162硬件故障致命错误200被零除20l范围检查错202堆栈溢出错203堆溢出错204无效指针操作205浮点上溢出206浮点下溢出207无效浮点运算208未安装覆盖管理程序209覆盖文件读错210对象未初始化2ll调用抽象方法213集合下标越界214集合溢出215 算术上溢错误216 存取非法217 控制-C218 授权指令219 无效的TYPECAST220 无效的变体TYPECAST221 无效的变体操作222 没有变体方法调用DISPATCHER223 不能建立变体数组224 变体不包含数组225 变体数组边界错误226 TLS初始化错误Pascal编译错误对照表下面列出在编译程序时可能出现的错误,在集成环境下,Turbo Pascal将自动加载源程序并定位于出错处。
l内存溢出2缺标识符3标识符未定义4标识符重定义5语法错误6实型常量错7整型常量错8字符串常量跨行9文件嵌套过多10非正常文件结束11行过长12缺类型标识符13打开文件过多14无效文件名15文件未找到16磁盘满17无效编译指示18文件过多19指针定义中未定义类型20缺变量标识符21类型错误22结构过长24文件分量不能为文件25无效字符串长度26类型不匹配27无效子界基类型28下界大于上界29缺有序类型30缺整型常数31缺常数32缺整型或实型常数33缺指针类型标识符34无效的函数结果类型35缺标号标识符36缺BEGIN37缺END38缺整型表达式39缺有序表达式40缺布尔表达式41操作数类型与操作符不匹配43非法赋值44缺字段标识符45目标文件过长46未定义外部标识符47无效*.OBJ文件记录48代码段过长49数据段过长50缺DO51无效PUBLIC定义52无效EXTRN定义53EXTRN定义过多54缺0F55缺INTERFACE56无效重定位引用57缺THEN58缺T0或DOWNTO59未定义的向前引用60过程过多61无效类型转换62被零除D63无效文件类型64不能读写该类型的变量65缺指针变量66缺字符串变量67缺字符串表达式68单元循环引用69单元名不匹配70单元版本不匹配71单元重名72单元文件格式错误73缺IMPLEMENTATl0N74常数与CASE类型不相匹配75缺记录变量76常数越界77缺文件变量78缺指针变量79缺整型或实型表达式80标号不在当前块中81标号已定义82标号未定义83无效参数84缺UNIT85缺“;”86缺“:”87缺“,”88缺“(”89缺“)”90缺“=”91缺“:=”92缺“[”或“(.”93缺“]”或“.)”94缺“.”96变量过多97无效FOR控制变量98缺整型变量99此处不允许用文件和100字符串长度不匹配101无效字顺序102缺字符串常数103缺整型或实型变量104缺有序变量105INLINE错106缺字符表达式107重定位项过多112CASE常量越界113语句错114不能调用中断过程116必须在8087方式下编译117末找到目标地址118此处不允许包含文件120缺NIL121无效限定符122无效变量引用123符号过多124语句部分过长126文件必须为变量参数127条件符号过多128条件指令错位130初始条件定义错13l过程和函数头与前面定义的不匹酉132严重磁盘错误133不能计算该表达式134表达式错误结束l35无效格式说明符136无效间接引用137此处不允许结构变量138无SYSTEM单元不能计算l39不能存取该符号140无效浮点运算141不能将覆盖编译至内存142缺过程和函数变量143无效过程或函数引用144不能覆盖该单元147缺对象类型148不允许局部对象类型149缺VIRTUAL150缺方法标识符151不允许虚拟构造方法152缺构造方法标识符153缺释放方法标识符154FAIL只允许在构造方法内使用155无效的操作符和操作数组合156缺内存引用l57不能加减可重定位符号158无效寄存器组合159未激活286/287指令160无效符号引用161代码生成错162缺ASM。
Free Pascal出错信息对照表附录3FREE 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[无效的函数结果类型]bel 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]74.constant and case types do not match[常数与CASE类型不相匹配]75.Record variable expected[缺记录变量]76.Constant out of range[常量越界]77.File variable expected[缺文件变量]78.Pointer extression expected[缺指针变量]79.Integer or real expression expected[缺整型或实型表达式]ble not within current block[标号不在当前块中]ble 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]二、运行错误运行错误将显示错误信息,并终止程序的运行。