Equinox Online Help - Language Reference - A to Z

Home

Continue

Applies to
SyntaxContinue keyword [LabelName]
Action[Statement] Jumps to the start of the specified structure or block
ScopeUsable anywhere
Notes

This statement can be used to pass control to the start of a block or structure, from inside that structure. Keyword specifies the block/ structure and may be one of the following:

KeywordDescription
BlockContinues a Block structure
ForContinues a For structure
RepeatContinues a Repeat structure
SubtableContinues a Subtable structure
SwitchContinues a Switch structure
WhileContinues a While structure

The optional argument, LabelName, is only used with the Block keyword. It is used to specify the block's name.

CategoryFlow Control
See Also Block_EndBlock, BreakPressed, Continue, Execute, EnableInput, Exit, For...Next, Goto, If_Then, Repeat_Until, Return, Sleep, Subtable, Switch, While_EndWhile
Example

This example places the value fifteen into the variable i, by adding one until it reaches five and then adding ten.

number i

i = 0

block
i = i + 1
If i < 5 Then Continue Block
i = i + 10
end block