Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Static variable
Message
De
14/10/1999 18:18:25
 
 
À
14/10/1999 14:20:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00276200
Message ID:
00276605
Vues:
29
>Are you talking about a protected property or about a feature available in another language, like C++?
>Or public. It still doesn't do the same though. A static member of a class is only visible to members of the class or subclasses. Statics are much preferable because of the protection from corruption by nonmembers of the class.

Other languages, VFP has no statics -- wish it did. As you know, protected properties are not shared between instances of classes.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform