100分求解,常量多维记录数组的初始化问题(100分)

Q

qqq3512

Unregistered / Unconfirmed
GUEST, unregistred user!
type
TaValue=record
SectionName:String;
ValueName:String;
ValueType:String;

end;
TSectionValues=array[0..1,0..1] of TaValue;

const Section_value:TSectionValues =
××××××××××××××××××××××××
Section_value这个常量数组怎么初始化它的值。
 
Section_value:TSectionValues =( ((SectionName:'11';ValueName:'';ValueType:''),(SectionName:'11';ValueName:'';ValueType:'')),
((SectionName:'11';ValueName:'';ValueType:''),(SectionName:'11';ValueName:'';ValueType:'')) ) ;
 
接受答案了.
 
const Section_value:TSectionValues =([1,2],[3,4],..)
 

Similar threads

S
回复
0
查看
962
SUNSTONE的Delphi笔记
S
S
回复
0
查看
784
SUNSTONE的Delphi笔记
S
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
顶部