Continue

Use Continue statements to restart a While…Wend statement loop.

Syntax

Continue

There are no parameters for this keyword.

Executing the Continue statement stops the current sequence of statement execution and restarts program flow at the beginning of the loop. This causes the While statement to retest the condition and, if true, execute the loop again.

Statements after the Continue keyword are not executed. Continue is often, but not always, activated by an IF test.

Example

Here is an example:

(Ellipses in the following examples represent additional statements, not shown.)

While(#x < 10)
   ...
   If (value)
      Continue
  End
  ... 
Wend

See also