[RESOLVED] Public and Global variables - difference ?
Hello,
What is the difference between public and Global variables ?
both of them are accessible for entire application. so what is the difference? :confused:
Where you will use global and where you will use public ?
please explain with examples (if possible)
Thanks
Re: Public and Global variables - difference ?
There is no difference it's just that some time ago MS changed the name to Public but Global is still supported.
Re: Public and Global variables - difference ?
Global is deprecated. It is there only for backwards compatibility. Use Public.
http://www.vbforums.com/showthread.php?t=461099
Re: Public and Global variables - difference ?
okay. thanks for clarification.