Skip to main content
Blocks under the 'Loops' Category

This article helps you understand blocks under the 'Loops' category in AppBuilder Code Editor.

Updated over a week ago

Repeat No. of Times

See the example to understand how to use the 'Repeat No. of Times' function.

Block for repeat no. of times. Do some statements several times.

Parameter: a variable or a value.

'Do While/Until' Loop

While/Until a value is true, do some statements.

Parameter:

  • While.

  • Until.

  • Condition.

'For' Loop

Have the variable like 'i' take on the values from the start number to the end number, count by the specified interval, and do the specified blocks.

Parameter:

  • A variable.

  • A starting value.

  • An ending value.

  • An increment value.

'For Each' Loop

See the example to understand how to use the 'For Each' loop function.

For each item in a list, set a variable like 'j' to the item, and then do some statements.

Parameter:

  • A variable.

  • A list.

Loop Termination

Break out / continue with the next iteration of the containing loop. This block must be in a loop container.

Parameter:

  • Break out.

  • Continue with the next iteration.


Related Article: AppBuilder Code Editor


Did this answer your question?