Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluate() on a built field name
Message
From
17/01/2006 15:40:57
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087596
Message ID:
01087712
Views:
15
>>>Hi Fabio,
>>>
>>>That does not work for what I am doing. I already have the Proproties in the object, I just need to get to them to put values into them.
>>>Thanks anyway.
>>>Beth
>>>
>>
>>addproperty update a exist property, and it is faster respect to
>>the TO (expr) solution.
>>
>Interesting. Do you have some stats confirming that? I also haven't used this function before, but I just updated one piece of code to benefit from it.

not tests are necessary, because if the VFP's C++ implementation is correct
it is obvious that ADDPROP is more express of TO (...),
as ADDPROP() it is a more specific command. For this reason it is also clearer.

to read a variable property the correct way is : GETPEM

to write a variable defined property the correct way is : ADDPROP(),
of course, except if you want a error if the property don't exist.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform