|
-
Jun 9th, 2008, 12:22 AM
#1
Thread Starter
Hyperactive Member
[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?
Where you will use global and where you will use public ?
please explain with examples (if possible)
Thanks
-
Jun 9th, 2008, 12:37 AM
#2
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.
Last edited by MartinLiss; Jun 9th, 2008 at 09:13 AM.
-
Jun 9th, 2008, 01:13 AM
#3
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
-
Jun 9th, 2008, 11:25 PM
#4
Thread Starter
Hyperactive Member
Re: Public and Global variables - difference ?
okay. thanks for clarification.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|