Skip to content
Abe Pralle edited this page Sep 7, 2022 · 3 revisions

Syntax

escapeBlock
escapeContingent
escapeForEach
escapeIf
escapeLoop
escapeTry
escapeWhich
escapeWhile

These commands escape or "break out" of the current control structure, moving execution to the next line after the end of the control structure. Unlike C-family languages that can only break out of loops, Rogue can escape out of ifs and other conditionals as well.

Clone this wiki locally