Re: Dim vs. Public
From: Harald Staff (stf_at_enron.invalid)
Date: 01/27/05
- Next message: Momo: "Re: Macro for Save As"
- Previous message: ch: "Macro does not refresh on the "Calculate" command."
- In reply to: Jamie Collins: "Re: Dim vs. Public"
- Next in thread: Jamie Collins: "Re: Dim vs. Public"
- Reply: Jamie Collins: "Re: Dim vs. Public"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 27 Jan 2005 12:50:14 +0100
"Jamie Collins" <jamiecollins@xsmail.com> skrev i melding
news:1106818462.360944.116730@z14g2000cwz.googlegroups.com...
> As far as I know there is no good reason for using a Public variable;
> I've never used one myself. If you need to share a module-level
> variable with another module, you can use a Property
Hi Jamie
Question of style, I think. I use public variables for things that are used
all over the app and that won't change "today" (=during the session).
Typically it's a username, a database address, environmental information, a
major choice in startup, ...
Best wishes Harald
- Next message: Momo: "Re: Macro for Save As"
- Previous message: ch: "Macro does not refresh on the "Calculate" command."
- In reply to: Jamie Collins: "Re: Dim vs. Public"
- Next in thread: Jamie Collins: "Re: Dim vs. Public"
- Reply: Jamie Collins: "Re: Dim vs. Public"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|