Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed refresh
Message
 
To
16/05/2005 11:29:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01014583
Message ID:
01014617
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform