Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing mvars when Releasing One Form & Opening the Next
Message
 
À
17/09/2002 14:30:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00699542
Message ID:
00701438
Vues:
27
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform