I guess you're a bundle of fun to work for. < gd&r >
Seriously, PRIVATE is there to prevent stepping on other code's toes. It should be used in a blackbox environment to avoid unnecessary (IMO) parameter passing. If your blackbox system is reasonbly complicated (e.g several levels of program hierarchy), there is nothing wrong with creating private variables. It is synonymous with creating object properties and accessing them through the different levels of your code.
>All,
>
>private vars are an exceptionally bad idea - for much of the same reasons that publics are - plus - if decoupling is a goal - there is nothing that breaks it worse than sharing live variables.
>
>I would suggest forgetting that the PRIVATE declaration even exists. I have all but fired programmers when I see a PRIVATE in their code...
>
>Ken
>
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao