type userarray=Array[1..6,1..6] of real;
var
k1:integer;
sr500:string;
vmax1,vza1,gdsa1:real;
vora1:userarray; procedure abc(Var k:integer;Var sr:string;out vmax,vza,gdsa:real;out vor:userarray); begin
......
for y:=1 to 6 do
begin
for x:=1 to 6 do
begin
vor[x,y]:=......;
end; end;
end; procedure TForm1.RadioButton1Click(Sender: TObject); begin
k1:=1;
sr500:=ComboBox1.text+'\vor-p\500\';
abc(k1,sr500,vmax1,vza1,gdsa1,vora1);//这句没通过,怎么回事?
label354.caption:=inttostr(gdsa1);
label356.caption:=inttostr(vmax1);
label358.caption:=inttostr(vza1);
......
end;
var
k1:integer;
sr500:string;
vmax1,vza1,gdsa1:real;
vora1:userarray; procedure abc(Var k:integer;Var sr:string;out vmax,vza,gdsa:real;out vor:userarray); begin
......
for y:=1 to 6 do
begin
for x:=1 to 6 do
begin
vor[x,y]:=......;
end; end;
end; procedure TForm1.RadioButton1Click(Sender: TObject); begin
k1:=1;
sr500:=ComboBox1.text+'\vor-p\500\';
abc(k1,sr500,vmax1,vza1,gdsa1,vora1);//这句没通过,怎么回事?
label354.caption:=inttostr(gdsa1);
label356.caption:=inttostr(vmax1);
label358.caption:=inttostr(vza1);
......
end;
解决方案 »
- delphi+ODAC:ToraQuery + ToraUpdateSQL
- 指针问题
- TXmlDocument控件使用问题
- 一个考卷显示文字与图片的问题!急切等待高手解答,不晓得的朋友帮忙顶啊:)
- 如何获取本机操作系统的system32目录路径
- 关于Delphi8的几个小问题(UP有分!)
- 紧急!如何求出CheckListBox里被选择的项目的个数?我的代码对吗?
- 请问怎样对某个目录设定口令或加密,50分
- 如何在线程中使用showmodal?
- RAD Studio 10.2如何从项目文件生成UML类图?
- PageCtrol 控件问题
- 请问高手,如何在Delphi中获取oracle数据库字段的长度
Types of actual and formal var parameters must be identical