General information
Category:
Coding, syntax & commands
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only