Android Question Should I use Dim or Public and Private?

maxh2815

Member
If I understand correctly, variables in Process_Globals and Globals should be declared with either Public or Private. However, if I was to declare a variable in a regular sub, should I use those modifiers or should I be using Dim? Is there an actual difference or is it just a personal preference? Thanks.
 

Sabotto

Active Member
Licensed User
I have seen that in Process_Globals Dim and Public are equivalent. While in Globals Public is accepted but is like Dim or Private
 
Top