Results 1 to 2 of 2

Thread: public const

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Location
    I'm right here!
    Posts
    849

    Smile

    I'm a VB beginner so can anyone help me and emplain to me
    what does "Public const" means?

    I will thank you very much!!!

  2. #2
    Guest
    Public means that the variable (const) can be used throughout the project.

    Const means that the number has a constant value. You might use this when you have an ugly number that you don't feel like typing all the time, for example:
    Code:
    'Constant for Pi
    Const Pi = 22/7
    Now you can use that number throughout your App with having to type 3.14...

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