test = record
a :byte;
b :byte;
c :byte;
end;test2 = record
s :string;
tt :array [0..0] of test;
end;var
a :array [0..0] of char;
t :test2;
begin
SetLength(a, 10); //可以通过
SetLength(t.tt, 10); //不能通过,为什么?
end;
a :byte;
b :byte;
c :byte;
end;test2 = record
s :string;
tt :array [0..0] of test;
end;var
a :array [0..0] of char;
t :test2;
begin
SetLength(a, 10); //可以通过
SetLength(t.tt, 10); //不能通过,为什么?
end;
解决方案 »
- 如何在StringGrid中间的其中一个格子加个小图标
- delphi statusbar显示登录用户
- 在DELPHI7 中用TSimpleDataSet连接MYSQL数据库,怎么才能只用一个数据库连接???
- 这是什么控件,到那里获得?
- 如何取得date中的年,月,日。!!!用哪个函数?
- DataModule里可以写procedure和function吗?
- 工作之余,大家休息休息,我这里有一道非常有意思的题,看谁先把答案说出来,不会的话请帮忙顶一下
- 是用感知控件好还是不用感知控件好?
- Delphi中有没有VB中的Moudle?
- 如何捕捉鼠标位置?
- VisiBroker为什么没有安装
- rave和quik report大家说好哪个好用?
test = record
a :byte;
b :byte;
c :byte;
end;test2 = record
s :string;
tt :array of test;
end;var
a :array of char;
t :test2;
begin
SetLength(a, 10); //可以通过
SetLength(t.tt, 10); //不能通过,为什么?
end;