>> I seem to remember that this was once documented somewhere for Delphi. Can't
>> seem to find it though, so maybe it was a 3rd-party book? There is
>> no hint of it
>> in the FPC documentation, anyway.
> As already noted, it is not necessary in DelphiAh sorry, I was wrong:
> misremembered
On 09/07/2018 18:22, Ryan Joseph wrote:
Could I do some RTL magic on a record to loop over its fields and set them to
another record by name? In the example below I want to set all the fields in
TRecA to matching named fields in TRecB. Just curious if we can do this
automatically using RTL.