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. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal