Skip to content

Loops ​

Repetition structures like count loops, while loops, and iterative patterns.

Controls WhileUntil ​

Block ​

true ▾repeatwhile ▾do

Description ​

While a value is true, then do some statements.

Params ​

  • MODE: Dropdown
    • while
    • until
  • BOOL: Boolean
  • DO: Blocks

Controls Flow Statements ​

Block ​

break out ▾of loop

Description ​

Break out of the containing loop.

Params ​

  • FLOW: Dropdown
    • break out
    • continue with next iteration

End ​

Block ​

End Program

Description ​

N/A

Controls Repeat Ext ​

Block ​

3repeattimesdo

Description ​

Do some statements several times.

Params ​

  • TIMES: Number
  • DO: Blocks

Controls For ​

Block ​

1101count withi ▾fromtobydo

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 ​

for each itemi ▾in listdo

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