Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO WHILE vs SCAN WHILE...?
Message
From
23/06/2005 19:42:25
 
 
To
23/06/2005 15:58:30
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026042
Message ID:
01026117
Views:
19
>What would be the difference in using DO WHILE vs SCAN WHILE...?
>Is there a performance issue?
>
>Thanks in advance, M.
My preference is for SCAN. In addition to what has been said, I think it is slightly cleaner especially if you have both a WHILE and FOR clause.

One thing to be aware of, however. Nested SCANs do not work as expected because of the extra SKIP at the second ENDSCAN.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform