Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Classes: Global memory variables?
Message
De
20/07/2005 11:14:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01034261
Message ID:
01034270
Vues:
16
>Hi all,
>
>Well, I suppose I should know the answer to this by this point in my career; how does one designate a global property on a VFP class? Simple example: I'd like the class to keep track of how many times it's been instantiated.
>
>Also, what's the best method of implementing a parameterized class?
>
>Thanks!

You may have seen this in C# or Java. As far as I know, this is not possible in VFP - you may have to use another global variable, or property of another global object.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform