On Wed, 16 May 2018, denisgolovan wrote:

Yes. That's exactly why I gave that example.
Your method with Move will trigger segfault eventually, so the compiler support 
is required to handle it properly.

But compiler support for copying records exists.

What's wrong with simply doing
 R2:=R1;
in the given examples ?

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to