Condividi tramite


LOOP Command

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