Skip to main content

Exitfor

Exit For (Statement)

Format

for var = n to m
(tab)statement(s)
(tab)exit for
(tab)statement(s)
next var

Description

Causes program execution to jump to the first statement following the for statement.

See Also

Begin Case / Case / End Case, Call, Continue Do, Continue For, Continue While, Do / Until, End, Exit Do, Exit For, Exit While, For / Next, For Each / Next, Function, Global, Goto, Gosub, If Then, Pause, Ref, Rem, Return, Subroutine, While / End While

History

0.9.9.68New To Version