Results 1 to 4 of 4

Thread: [RESOLVED] Public and Global variables - difference ?

  1. #1

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Resolved [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
    Kanna

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    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.

  3. #3
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    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
    Usefull VBF Threads/Posts I Found . My flickr page .
    "I love being married. It's so great to find that one special person you want to annoy for the rest of your life." - Rita Rudner


  4. #4

    Thread Starter
    Hyperactive Member csKanna's Avatar
    Join Date
    Dec 2005
    Location
    Tech-Tips-Now.com
    Posts
    339

    Re: Public and Global variables - difference ?

    okay. thanks for clarification.
    Kanna

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width