>Hi,
>
>>>I don't use any PUBLIC variables. In my Main.prg, I create a PRIVATE var,
>
>So what's the difference between a PUBLIC var and a var declared as PRIVATE at the top level ?
>
>Regards,
>Viv
One difference comes to mind - goApp loses being immune to "release all" command if declared as PRIVATE. ie:
*Main1.prg
PRIVATE goApp
*...
*Some procedure
release all && goApp is released - wouldn't if declared as PUBLIC w/o extended clause
IOW I'm with you. I declare it as PUBLIC if not using Application object instead.
Cetin