try
HIGH(fGridInfo[iCol]); //Should give highest row number within the column
HIGH(fGridInfo) ; //Should give number of columns
Myles.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 4:31 AM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Dynamic 2Dimensional Arrays ??
Ok, I am abit stuck here.
I have a dynamic 2d array which is an emulation of a grid...kinda.
i.e. fGridInfo[iCol,iRow]
what i want to do is find out the HIGH of iRow.
So I go HIGH(fGridInfo[iCol,iRow]) I get incompatible types errors....I have
looked at the Help, but I cant see what I am doing wrong....can anyone
please help ??
Cheers, 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"