Member variables in a Type

BlitzMax Forums/BlitzMax Beginners Area/Member variables in a Type

I have a question. With the OO capabilities of Types in BlitzMax, I'm trying to find an equivalent to member variables. For example, I want to have some variables in my Type that are not exposed to the outide and are not Global. If I try to use the word Local to define them, I get an error.

If I use Global, then each time I reference that variable in different instances of the Type object, it changes the value for all instances.

I know Fields will work for the time being, however I don't want to expose those variables to the outside in any way.

Any thoughts?