CONTINUE

From STX Wiki
< Programmer Guide‎ | Command Reference
Revision as of 15:39, 24 April 2014 by Christian (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The CONTINUE command skips the rest of the body of a loop, effectively continuing execution with the next iteration of the respective loop. Obviously, this command may only be used inside a loop.

Usage

CONTINUE

Result

The CONTINUE command does not generate a return value. Neither does it change the variable RC.

See also

control commands, BREAK, DO, WHILE, FOR, FOREVER, END

Example

for #i := 0 to $#i < $#table[] step #i := int $#i + 1
    if '$#table[$#i,ID]' <= '100' continue
    // do something with all IDs above 100
end

Navigation menu

Personal tools