Continue Command

Description:

The continue statement passes control to the next iteration of the nearest enclosing for or while statement in which it appears, bypassing any remaining statements in the for or while statement body.

Format:

Continue;

Example:

integer i;

for i = 1 to 10
    if ( i >= 4 && i <= 7 )
        continue;
    endif
    log "i = " + ToString(i);
endfor

Output:

i = 1
i = 2
i = 3
i = 8
i = 9
i = 10





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap