Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another Cheezy Tip of the Week (VFP6)
Message
 
To
14/07/1998 12:15:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00116665
Message ID:
00117205
Views:
27
Hi John,

Ken had been using this extensively at his demos at Devcon. For e.g. say you have a class Foo, which has properties p1 and p2.

The this_access() of foo could be
Check if the property exists
If not add the new property and assign the value
This way, you do not need to worry about any property existing or not.
Just say oFoo.p3 = 'Property 3'
and you are done.

>But THIS_ACCESS() passes property name and acts differently than property_access. Have you come up with any realworld for THIS_ACCESS? I haven't yet.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform