high 数组的返回值?十分迷惑 求解
本帖最后由 〓/kl/啊富弟 于 2012-5-27 20:34 编辑TPYE
TES=Array of Array of integer
VAR
h:tse;
那么
SetLength(h,5,5);
th:=High(h)
tw:=High(h)
th 和 tw 是多少?是不是th := 5 ,tw := 25?
procedure TForm1.btn1Click(Sender: TObject);
var
h:tse;
th,tw:Integer;
begin
SetLength(h,5);
th:=High(h);
tw:=High(h);
lbl1.Caption:=IntToStr(th);
lbl2.Caption:=IntToStr(tw);
end;
页:
[1]