Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STATIC variables
Message
De
31/08/2000 09:58:39
Walter Meester
HoogkarspelPays-Bas
 
 
À
31/08/2000 09:13:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411182
Message ID:
00411240
Vues:
13
Hi J.

>You mean a variable that will hold its value application-wide?
>
>Just declare it Public on your main program or, as Walter mentioned, make it a property of oApp object if you have one.

STATIC variables in fact are a combination of Public and local:

Public, because if the variable goed out of scope, it still exists and holds a variable.
Local, because it is only visible in the routine where it is created.

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform