Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing mvars when Releasing One Form & Opening the Next
Message
 
To
17/09/2002 14:30:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00699542
Message ID:
00701438
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform