RE: PUBL VARS PRO&CONTRA
From: Andy Kramek
Westminster Circle, Akron
Ohio - United States
To: Ilya Rabyy
California - United States
PUBl Vars Pro&Contra
RE: PUBl Vars Pro&Contra
Visual FoxPro 9
General VFP Topics
Tuesday, August 14, 2007 8:00:32 PM
This message was rated by:
> I think you owe one to Herr Bahr! Read his reply to you and say: "Touché!" (LOL!)
Why? I never said I didn't ever use a Public Variable. All I said was:
> > I have
found a scenario where a PUBLIC variable is the only solution. There is always an alternative and the alternative is always better.
Apart from anything else the quoted example is a tiny sub-set (posted without comments or explanation - and entirely out of context) from a procedural program (certainly not a class definition) used to set the working environment for a presentation that I gave at the San Diego DevCon in 2001.
This code is not even supposed to be application code - it's just the configuration program for a conference session - which is hardly a normal operating environment.
Microsoft MVP (Visual FoxPro)
Tightline Computers Inc, Akron Ohio, USA