Re: public global constants
- From: "Jan Hyde (VB MVP)" <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Jul 2007 09:09:49 +0100
"Jeff Johnson" <i.get@xxxxxxxxxxx>'s wild thoughts were
released on Tue, 10 Jul 2007 12:55:34 -0400 bearing the
following fruit:
"greg" <greg@xxxxxxxxxx> wrote in message
news:%231uct6wwHHA.4548@xxxxxxxxxxxxxxxxxxxxxxx
how do people normally name their public global constants?
When it comes to constants I couldn't care less about scope.
I treat constants the same way as any other variable when it
comes to scope.
Either I'm using constants to represent indexes from control
arrays for example so they are only appropriate at from
level.
Or I'm using them for API calls, but I wrap up all the API
calls in a module anyway so again the constants are only
really appropriate at module level.
--
Jan Hyde
https://mvp.support.microsoft.com/profile/Jan.Hyde
.
- References:
- public global constants
- From: greg
- Re: public global constants
- From: Jeff Johnson
- public global constants
- Prev by Date: Re: Does each routine know its name?
- Next by Date: Re: Multi-thread read/write to a single file.
- Previous by thread: Re: public global constants
- Next by thread: Re: public global constants
- Index(es):
Relevant Pages
|