Unfortunately, I need to use some Public Byte variables which serve as switch settings for certain functions in an OOP application. There are also some Public Integer variables used to denote numbers of things.
Question is: I have observed that within a class (instantiated object), that the Public variable could be changed (ByRef used in the Constructor) within a method of a class, but when I leave the class the Public variable is not updated to the values within the class, and takes on the old value before instantiating and going into the class.
1. Are Public variables updated in methods of classes?
2. What about constructors, it seems that what happens in New() is special as well(?)
The time has come for me to understand the rules regarding where Public variables are actually updated.