delphi7帮助上的
When a {$R filename} directive is used in a unit, the specified file name is simply recorded in the resulting unit file. No checks are made at that point to ensure that the filename is correct and that it specifies an existing file.
这一段怎么反译呀好别扭.这样对吗?
当 {$R filename} 指令出现在单元中,这个file name是单元文件自动生成的.不需要检查这这一点的file name的正确性和以及文件名所指向的是不是一个现存的文件.
When a {$R filename} directive is used in a unit, the specified file name is simply recorded in the resulting unit file. No checks are made at that point to ensure that the filename is correct and that it specifies an existing file.
这一段怎么反译呀好别扭.这样对吗?
当 {$R filename} 指令出现在单元中,这个file name是单元文件自动生成的.不需要检查这这一点的file name的正确性和以及文件名所指向的是不是一个现存的文件.
{$R filename} 编译指令中的filename只是作为所在单元文件中的一个简单标记存在,不会对文件是否存在以及文件正确性进行验证。