Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan and do while
Message
From
08/03/2001 10:49:13
 
 
To
08/03/2001 10:19:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00483131
Message ID:
00483160
Views:
12
>Oh I do have another question concerning Scan and Do while.
>
>When would you use one over the other?
>
>Thanks

Dean,

If I am looking through a table then I _never_ use Do Enddo

I occasionally use Do when I am doing low level file functions things like
Do while !Feof()
or if you want to loop for ever
Do while .T.
But if a table is involved and you want to go from top to bottom then Scan every time.
Will Jones
Previous
Reply
Map
View

Click here to load this message in the networking platform