Jump to content
pyscripter

Rtti Question: Is there a way to tell apart class fields from other fields?

Recommended Posts

TTest = class
   A: string;
   class var B: string;
end;

Is it possible to tell that B is a class field using Rtti?  Ditto for properties.

 

And if you get a chance have a look at my other Rtti question.

Share this post


Link to post

Never mind.  I forgot the answer to an older question.

No rtti is generated for class fields and properties, which is a shame.   It does for class methods though.

Edited by pyscripter

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×