Variable Scope.

ed_metcalfe

New member
Local time
Today, 21:16
Joined
Nov 12, 2001
Messages
7
Anybody any idea what the difference between a Global variable and a Public variable is? As I understand it:

Dim - available only within the current procedure
Private - available to all procedures in the current module
Public - available to all procedures in all modules
Global - available to all procedures in all modules.

So what's the difference between Public and Global??

Ed Metcalfe.
 
Not meaning to contadict, since I do not clearly remember either...
I thought that Public was available to all elements within the containing application and Global was Available to everything (both inside and outside the containing application)...
Any one know for sure?
Chris
 

Users who are viewing this thread

Back
Top Bottom