Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strong type class properties?
Message
From
18/09/2008 12:36:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348653
Message ID:
01348663
Views:
13
>Is it possible to strongly type properties in a prg based class?

What's the idea of strong typing? Avoiding that somebody assigns the wrong type, I believe.

If that is all, just use an Assign method. This method will intercept any value assigned to the property.
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