I'm interested in any option to pass a reference to such arrays as a
parameter. Any feasible idea sounds good to me. TIA.

On Fri, 06 Oct 2000, Juan Manuel Gomez Ramos wrote:
> Hi there:
> 
>   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 
> 
> {example: 
> 
> TDynamicArray = array of Double
> 
> procedure Test(paramArray: TDynamicArray);
> 
> }
> 
> makes them behave like "dynamic arrays". Does this mean that, only a reference
> to the array is passed in paramArray (previous example)?
> 
>   Thanks in advance.
> 
>   Juanma.
> 
> -- 
>   Juan Manuel Gomez Ramos
>   Computer Science student at Havana University
>   Paraglider pilot and RadioHam (CM9BPG)
>   http://cubairsports.itgo.com = http://www.geocities.com/cubairsports
> 
>   email:<[EMAIL PROTECTED]>         eFax: +1-707-313-0329 (USA) 
>         <[EMAIL PROTECTED]>         +44-870-125-4936 (UK)
>         <[EMAIL PROTECTED]>
>   ICQ:  62091995
>   http://chronos.itgo.com
> 
> 
> ---------------------------------------------------------------------------
>     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"
-- 
  Juan Manuel Gomez Ramos
  Computer Science student at Havana University
  Paraglider pilot and RadioHam (CM9BPG)
  http://cubairsports.itgo.com = http://www.geocities.com/cubairsports

  email:<[EMAIL PROTECTED]>         eFax: +1-707-313-0329 (USA) 
        <[EMAIL PROTECTED]>         +44-870-125-4936 (UK)
        <[EMAIL PROTECTED]>
  ICQ:  62091995
  http://chronos.itgo.com


---------------------------------------------------------------------------
    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"

Reply via email to