I think declaring it PUBLIC could be risky. If you run your application in the development environment, it will still be there when Main.prg terminates. If declared PRIVATE, it is released. Since I never use RELEASE ALL inside an application, I don't have to worry about it being released prematurely.
>Good point. But, as you say, this could make Craig's choice of using a PRIVATE variable potentially more risky.
>Regards,
>Viv
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer