> 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
never 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.
Regards
Andy Kramek
Microsoft MVP (Visual FoxPro)
Tightline Computers Inc, Akron Ohio, USA