>Nope. Copied-and-pasted your code straight to a PRG. Damn, I need a faster machine and/or more RAM. :]
>
Mark,
I ran mine on a Compaq P200 with 88MB ram and I got times MUCH faster than yours, and with an even larger percentage difference:
Straight Code: 1.555
As Variable : 0.717
As Define : 1.252
>>Mine on a Dual PII 350 with 256MB Ram, VFP 6 SP 3. I get about 30% (same as George).
>>Straight Code: 0.313
>>As Variable : 0.203
>>As Define : 0.313
>>
>>I'm surprised mine ran so much faster, or did you change the number of loops.
>>
>>>My results on a Dell 200mHz 64MB Ram, VFP 6 SP 3. Difference too small to matter?
>>>Straight Code: 23.785
>>>As Variable : 23.416
>>>As Define : 23.608
>>>