> I believe most of the time, public vars are used badly, even to the point of putting lives at risk. It would be best to avoid them. Even when objects replace the public vars, nothing is done to protect the properties from changes, so there is little benefit. Most of the time, in my experience the programmers did not know there was any danger when they originally used them or it was just habit. Once they're used, one just has to be careful maintaining the code.
>
> Mike Yearwood
>
www.foxridgesoftware.com> President: Toronto Ontario FoxPro User's Group
I second this post! PUBLICs aren't evil by itself, but it is the misusing them that makes them evil. (And I've just realized that I'm paraphrasing the famous "Guns do not kill, people do.")
Regards,
Ilya