Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


7.1.13 Continue

Purpose

Flow control statement for returning to the start of a While...End loop, For...Next loop, For...End For loop, or Do...Loop loop.

Syntax
Continue
Description

The Continue statement can only be used within a While...End loop, For...Next loop, For...End For loop, or Do...Loop loop. A syntax error occurs if Continue is used in any other position.

You can write any number of Continue statements anywhere in these loops. When used within nested loops, Continue transfers control to the start of the innermost loop in which it appears.

Example
For I = 1 To 10
  For  J = 1  To  10   ' Return here from Continue
      ...
     Continue
      ...
  Next
Next
JP1/Script version

Supported from JP1/Script 05-00.