Hi all,

With respect to classes (and perhaps also objects), how do you copy the
contents of a class in memory (an object) to another?

ie:

var
        a: TClass;
   b: TClass;

begin
  a := TClass.init;
  b := a; //This only copies the pointer and doesn't work ??
end.

cheers
James
_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to