On Sa, 2014-12-27 at 16:45 +0100, Bart wrote:
> On 12/27/14, Marc Santhoff <[email protected]> wrote:
> 
> > function clone(data_in: a_record): a_record;
> > var
> >   data: Pa_record;
> > begin
> >   new(data);
>      data^ := data_in;  //should work*
> > end;
> 
> * Might not be a good idea if data contains a class(reference).

Oops, I just typed that away and did not hit CTRL-F9 - which is useless
in the mailer anyway. ;)

-- 
Marc Santhoff <[email protected]>

_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to