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缺BEGIN
error37:END expected缺END
error38: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缺DO
error51:Invalid PUBLIC definition无效的PUBLIC定义
error52:Invalid EXTRN definition无效的EXTRN定义
error53:Too many EXTRN definitions太多的EXTRN定义
error54:OF expected缺OF
error55:INTERFACE expected缺INTERFACE
error56:Invalid relocatable reference无效的可重定位引用
error57:THEN expected缺THEN
error58:TO or DOWNTO expected缺TO或DOWNTO
error59: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缺IMPLEMENTATION
error74: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缺UNIT
error85:";"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缺对象类型

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。