这种packed record记录类型,我怎么没在书见到过?没有主窗体?TForm1 = class(TForm)
unit MyRec;
interface
uses
windows,messages,classes,forms,sysutils;
type
TPersonRec=packed record
id:string[11];
path:string[6];
pic:string[35];
tdate:string[10];
end;
请大家帮忙!
unit MyRec;
interface
uses
windows,messages,classes,forms,sysutils;
type
TPersonRec=packed record
id:string[11];
path:string[6];
pic:string[35];
tdate:string[10];
end;
请大家帮忙!
仅仅用于定义类型(结构、类)的实现,以供别的源文件使用
packed record是紧缩型的结构
你看看delphi的源码你就知道了!