STUFFC()

Loop

This command ends the current pass in a loop, taking control directly to the loop-ending command (ENDDO, ENDFOR/NEXT, ENDSCAN). Then, the loop condition is evaluated and execution proceeds normally.

Don't use LOOP. It creates spaghetti code and makes maintenance much harder. LOOP can always be replaced by an IF that skips the remaining code in the loop.

See Also

Do While, Exit, For, For Each, Scan


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net