> I read in the Delphi Help that, when an open array parameter is used, a local
> copy of the array is created into the procedure/function. I would like to pass
> such sort of arrays (ex: array of Double) as a parameter but, they are too big
> to make it a good idea. I need to pass them as var arrays. The Help file says
> that: declaring them using a type
Declare the parameter as const.
EG
procedure Spam(const a :array of Double);
typing your dynamic arrays is only necessary for return types and var parameters
where the array will change in dimensions...
--
Aaron@home
---------------------------------------------------------------------------
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"