Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes: Global memory variables?
Message
From
20/07/2005 11:14:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01034261
Message ID:
01034270
Views:
15
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform