Loops
Repetition structures like count loops, while loops, and iterative patterns.
Controls WhileUntil
Block
Description
While a value is true, then do some statements.
Params
- MODE: Dropdown
- while
- until
- BOOL: Boolean
- DO: Blocks
Controls Flow Statements
Block
Description
Break out of the containing loop.
Params
- FLOW: Dropdown
- break out
- continue with next iteration
End
Block
Description
N/A
Controls Repeat Ext
Block
Description
Do some statements several times.
Params
- TIMES: Number
- DO: Blocks
Controls For
Block
Description
Have the variable 'i' take on the values from the start number to the end number, counting by the specified interval, and do the specified blocks.
Params
- VAR: Variable
- FROM: Number
- TO: Number
- BY: Number
- DO: Blocks
Controls ForEach
Block
Description
For each item in a list, set the variable 'i' to the item, and then do some statements.
Params
- VAR: Variable
- LIST: Array
- DO: Blocks