Results 1 to 2 of 2

Thread: define a public const

  1. #1

    Thread Starter
    Lively Member neodatatype's Avatar
    Join Date
    Aug 2002
    Location
    Italy
    Posts
    103

    Question define a public const

    Hi!

    Is it possible to make a constant visible to an intiere namespace?

    Thanx
    > NeoDataType.net <

    Try my Free .Net Reporting Tool!

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    Const are internally scoped as Static, so you can just add it to a class and call it from anywhere, assuming you make it public.

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