Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

LOOP Command

Visual Studio .NET 2003

Returns program control directly to the beginning of a looping structure.

LOOP

Remarks

You can place LOOP anywhere between DO WHILE and ENDDO, anywhere between FOR and ENDFOR or FOR EACH and ENDFOR, or anywhere between SCAN and ENDSCAN.

The LOOP command returns control directly to the DO WHILE, FOR, or FOR EACH clause without executing the statements between LOOP and ENDDO or ENDFOR. The counter is incremented or decremented as if the END... statement were reached.

See Also

DO WHILE ... ENDDO | FOR ... ENDFOR | FOR EACH ... ENDFOR | SCAN ... ENDSCAN | EXIT

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.