whats more effective in declaring variables?

imdimonique

Member
Joined
Jun 3, 2004
Messages
10
i have read some snippets that uses fields in declaring their variables:

Whats more effective?
dim strVariable as string or Private strVariable as string?? :confused: or is it the same?
 
It's the same. Both declare a variable of type string. If you don't specify the scope, the default of Private is taken as the scope.
 
Back
Top