[fpc-pascal] Usage of FieldAddress

Ryan Joseph genericptr at gmail.com
Sun Apr 4 19:12:43 CEST 2021


I'm trying to see fields by name but TObject.FieldAddress doesn't seem to be working. Do I have that correct I should be using FieldAddress to return the pointer of the published property? Some how I can't seem to find an example of FieldAddress on Google....

type
  TSomething = class(TPersistent)
    private
      m_scale: integer;
    published
      property scale: integer read m_scale write m_scale;
  end;


Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list