2006/6/7, George Birbilis <[EMAIL PROTECTED]>:
Use a pointer to an array of string

Type
 Tars=array[0..0] of string; //if FPC does support open arrays remove [0..0]
and use SetLength etc. instead of allocating memory using memory manager
 Pars=^Tars;

Procedure test(x:Pars);
Begin
 ...
End;

I still need a type declaration; I don't thing that procedure test(p:
^array of string); will work :)

--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to