On 12/26/23 01:14, Sven Barth via fpc-pascal wrote:
Amir--- via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Di., 26. Dez. 2023, 07:03:

    Hi,

       I want to retrieve the name of the fields in a record/class, at
    run
    time. It looks like "TVmt.vFieldTable" is what I need. But I
    cannot find
    any documentation about how to explore the content of this table. I
    appreciate any pointer.


This only works for published fields and only fields of type class or interface can be published.
That would work for me. How can I enumerate over those fields?

Best,
Amir

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

Reply via email to