Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01014583
Message ID:
01014617
Vues:
17
Don,

You might get slightly better performance (at least in my small test) if you change it to:
v3 = val(strtran(this.Name,"P",space(1)))+100
lcEvaluate =	"day1." + alltrim(this.Name) + "+" + ;
		"day2." + alltrim(this.name) + "+" + ;
		"day1.P" + alltrim(str(v3)) + "+" + ;
		"day2.P" + alltrim(str(v3))
this.value = int(evaluate(lcEvaluate)/2)
Do not know if it will make much difference in your case, but it is easy to try :)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform