Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan versus Scan While Not EOF()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00448536
Message ID:
00448540
Views:
7
>I've seen a number of posts here about adding a WHILE NOT EOF() condition to a SCAN..ENDSCAN loop. I get the impression that this seems to make the loop process more quickly.
>
>I've always thought the WHILE NOT EOF() was redundant.
>
>Could someone please explain to me how including it speeds up the processing?
>
>Thanks.............Rich

I have not seen anything posted here like this (although that does not mean it has not happened). I believe I have seen questions related to SCAN-ENSCAN vs.:

DO WHILE NOT EOF()
*- some processing here

SKIP
ENDDO

With SCAN-ENDSCAN being the preferred choice.
Chris McCandless
Red Sky Software
Previous
Reply
Map
View

Click here to load this message in the networking platform