> On Jun 19, 2019, at 5:45 PM, Ben Grasset <operato...@gmail.com> wrote: > > I'm not sure why you'd necessarily need to implement Copy specifically for > that kind of thing, though. Initialize and Finalize would be much more > relevant, I'd say. >
Because a copy isn’t necessarily an assignment. See the dynamic array example again. The only way the record knows it was copied into the array is via the copy operator. Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel