Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with initial value of property
Message
From
27/09/2012 13:33:04
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01553671
Message ID:
01553775
Views:
77
>>It is not a language behaviour,
>>it is an optimization.
>>
>I'm not sure it's an optimization if it leads to incorrect results. I could drive my car 100 miles an hour (maybe) but that might not optimize the outcome. As you imply, going for pure speed endangers the integrity side of the tradeoff.
>

In JS it is documented practice. And if it is not stated when exactly property expression/functions are done,
the vfp behaviour cannot be said to produce incorrect results.

Methods are the way for dynamic alterations - therefore .init()
Previous
Reply
Map
View

Click here to load this message in the networking platform