我在delphi7 中这样定义一个记录类型和文件,但是出错,为什么?
Type
myRecord=Record
name:String;
Tel:String;
end;
var
myFile:file of myRecord;
出错信息是:“myRecord needs finalization - not allowed in file type”
Type
myRecord=Record
name:String;
Tel:String;
end;
var
myFile:file of myRecord;
出错信息是:“myRecord needs finalization - not allowed in file type”
myRecord=Record
name:String[255];
Tel:String[255];
end;
var
myFile:file of myRecord;