[ STATIC ] ( PUBLIC | PRIVATE ) Identifier [ Array declaration ] AS [ NEW ] Datatype
This declares a class global variable.
PUBLIC
keyword is specified, it is also accessible to the other classes having a reference to an object of this class.
STATIC
keyword is specified, the same variable will be shared with every object of this class.
NEW
keyword is specified, the variable is initialized with a new instance of the class specified with Datatype .
STATIC PUBLIC GridX AS Integer STATIC PRIVATE bGrid AS Boolean PUBLIC Name AS String PUBLIC Control AS Object STATIC PRIVATE Synonymous AS NEW Collection PRIVATE hHandle[8] AS Label