Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
De
31/12/1999 14:34:17
 
 
À
31/12/1999 14:20:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Divers
Thread ID:
00310213
Message ID:
00310997
Vues:
19
PMFJI (But I've had this discussion Twice this week, so :-)

>>It is never necessary to declare a variable public in the main start up prg of an app. A private is globally visible to the entire application.
>... I don't understand what you want to say here. Sorry.

A PRIVATE declared in the very first routine is available to every other Routine/Method/Menu command/Report in the app. That makes it global, but is not declared PUBLIC, so your other statment:

>>So when is a var required to be public?
>Only when its real scope is over the entire application.

Is not true either if the varaible was declared public in the main program.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform