Control Flow in Verse
Control Flow
Code is generally executed line by line, in the order the expressions appear. This is called sequential execution. You can, however, change the order in which expressions are executed by using control flow expressions.
Code is generally executed line by line, in the order the expressions appear. This is called sequential execution. You can, however, change the order in which expressions are executed by using control flow expressions.
For example, you can make decisions about what expressions to execute next using if and case expressions, or repeat a sequence of expressions more than once with loop and for. The following pages describe these expressions in detail, and include examples of how to use them.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.