S
sqlserver2
Unregistered / Unconfirmed
GUEST, unregistred user!
var
A: array of array of string;
I, J, K: integer;
begin
SetLength(A, 5);
for I := Low(A) to High(A) do
begin
SetLength(A, 5);
for J := Low(A) to High(A) do
begin
SetLength(A[I, J], 5);
for K := Low(A[I, J]) to High(A[I, J]) do//HIGH cannot be applied to a long string
begin
end;
end;
end;
end;
为什么会是HIGH cannot be applied to a long string?
而I,J循环时却没有.
array of array of string的是什么样的数组?
A: array of array of string;
I, J, K: integer;
begin
SetLength(A, 5);
for I := Low(A) to High(A) do
begin
SetLength(A, 5);
for J := Low(A) to High(A) do
begin
SetLength(A[I, J], 5);
for K := Low(A[I, J]) to High(A[I, J]) do//HIGH cannot be applied to a long string
begin
end;
end;
end;
end;
为什么会是HIGH cannot be applied to a long string?
而I,J循环时却没有.
array of array of string的是什么样的数组?