Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluate() on a built field name
Message
De
17/01/2006 15:40:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01087596
Message ID:
01087712
Vues:
13
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform