2006/7/12, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
On 7/12/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote:
> In Delphi a class is always treated as a 'var' when passed in a
> function since a class is a pointer to actual data;

No, not really. It is always passed as a pointer, but here you want to
change the pointer and not the contents of the class. So when you put
a class as var you are passing a pointer to the pointer.

Yes, it is really an error from myself. Thanks.

--
Alexandre Leclerc
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to