>>BTW, it is not necessary to define a global variable as PUBLIC, a PRIVATE defined in the highest program layer will be global to the application. The only thing PUBLIC does is make the variable live beyond the end of the program that defines it.
>
>Thank you for clarifying. Are you saying that PUBLIC variables stay in the memory of the PC even after you close the application?
They stay in memory as long as VFP is still running.