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. Anything more requires extended RTTI, which is not yet implemented in FPC (it's already more or less ready in a merge request, but there's still the one or other issue that needs to be addressed). Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal