Delphi Troubleshooting涉及Delphi在设计时期(design-time)、编译时期(compile-time)和运行时期(run-time)出现的错误消息,是一本综合的、极具特色的Delphi程序员编程指南。书中给出了Delphi编程时可能遇到的600多个错误消息的原因分析和快速解决方法。为了便于读者查找,书中将错误消息条目按条目首字母的字母顺序排列,在每个条目中对引起错误的原因作了解释,并提供了快速解决问题的方法,以避免错误消息的出现。书中提供的代码清楚地演示了如何避免错误。
本书适合于所有层次的Delphi程序员,特别是有一定经验的程序员,并且对任何版本的Delphi(包括Delphi 4.0)都适用。
关于本书
1 Error Messages(错误消息)
2 “.”Expected
3 $DENYPACKAGEUNIT<>cannot be put into a package
4 $DESIGNONLY AND $RUNONLY both specified
5 $DESIGNONLY AND $RUNONLY only allowed in package unit
6 $WEAKPACKAGEUNIT & $DENYPACKAGEUNIT both specified
7 $WEAKPACKAGEUNIT<>cannot have initialization or finalization code
8 $WEAKPACKAGEUNIT<>contains global data
9 “;”not allowed before ‘Else’
10 <>already exists
11 <>can't be added to this package because another file with the same
12 base name(<>)is already in the directory of the package
13 <>expected but<>found
14 <>has no index for fields<>
15 <>has the descendent<>in the Repository and therefore cannot be removed
16 <>is a read-only file
17 <>is a reserved word
18 <>is already in the Repository. Replace it?
19 <>is already in use by<>
20 <>is an invalid filename
……
对Exit过程的调用立即使控制从当前的过程返回到调用的过程,程序将从调用了Exit过程的语句的下一行继续执行。