Top
Systemwalker Operation Manager V17.0.1 Reference Guide

15.2.6 continue (Skip a Loop to the Next Iteration)

Description

Skips to the conditional evaluation of a loop statement, skipping the subsequent iterations of a loop.

Synopsis

continue

Example

The following example shows the count values on the last three iterations while executing a loop five times.

set i 0
while {$i < 5} {
      incr i
      if {$i < 3} {
            continue
      }
      puts $i
}

Execution Results/Output Format

3
4
5