TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:85] Introspection all or nothing?



Bob Tanner wrote:
> 
> I am using introspection to snarf all the public member varibles from a class.
> Now, it seems to be that introspection is an all or nothing type thing.
> 
> Can I use introspection to pull out all the none static final public member
> variables?

Yes

> 
> I am really not interested in my "constants".
> 

But none-static (instance) final public members are constants.  It is
just visable to instances of the Class.

Perry Hoekstra
Consultant 
Talent Software
dutchman@mn.uswest.net