General information
Category:
Coding, syntax & commands
> Even though Tamar has indicated that there's an order of magnitutde difference between using a FOR...ENDFOR construct over a DO WHILE, I don't necessarily believe that it would apply in all cases. While her remarks were directed towards VFP 7.0 and above, in VFP 6.0 it took in excess of 10,000,000 iterations before more than 1/10th of a second was realized. <
FYI, just ran my test code in VFP 6 SP5. Results:
DO WHILE: 14.5370
FOR: 1.2250
Again, this 10,000 iterations of a loop from 1 to 1,000. So, 10000*1000 = 10,000,000 iterations.
Tamar
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