>Chuck,
>Global variable is just another name for Public variable. Sorry for the confusion.
Not exactly. The global variable is the variable which is declared in your topmost program (i.e. MAIN.PRG) It will be accessible by all programs/methods//objects. But it is not neccesarily PUBLIC variable. To be more precise, the idea of global variable is not to declare it as PUBLIC.
*MAIN.PRG
var1 = "this is a global variable"
PUBLIC var2
var2 = "this is both PUBLIC and global variable"
***
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison