I have encountered this declaration inside a class. I am used to program in c# and new to vb6. Can someone tell me what is the purpose of this. Usually I see variable in vb6 are declared using Dim.
Private MapStatus(CAS_LAST, MAX_CAS_SLOT) As MAP_STATUS
where MAP_STATUS is an enum variable declared globally.
This has to do with the scope of the variable.
privateis used outside of methods at the top of a module and makes the variable available to any methods in the module.Dimis used within methods and are method specific variables.So in your case, presumably it was made private because the programmer wanted the variable available for the whole module, but not accessible from outside the module.