Well, here is what I am doing....
var
iColCount : Integer;
begin
iColCount:=high(fGridArray[Row]);
iColCount:=iColCount + 1
SetLength(fGridArray[row],iColCount);
end;
I cant see WHY this sould be a problem...seems straight forward, but it just
wont set thge new value !
infact, it SEEMED to have set it then next time it was back to the original
value...
Jeremy
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Myles Penlington
> Sent: Tuesday, September 19, 2000 5:33 PM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Dynamic 2Dimensional Arrays ??
>
>
> The question is then what is the value of "iColCount"???
>
> I have never had a problem yet with the D5 arrays.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 20, 2000 5:19 AM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Dynamic 2Dimensional Arrays ??
>
>
> MORE to my last email, if I got
>
> SetLength(fGridArray[row],(iColCount+1));
>
> it doesnt increase the array at the Pos fGridArray[row]!
>
> Are Dynamic Arrays (in D5) always this flakey ?
>
> Jeremy Coulter
>
>
>
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"