Skip to main content
Blocks under 'Loops' Category

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

Updated over a month ago

Repeat No. of Times

See example to understand how to use '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, counting 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 example to understand how to use 'For Each' loop function.

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

Parameter:

  • a variable.

  • a list.

Loop Termination

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

Parameter:

  • break out.

  • continue with next iteration.


Related Article: AppBuilder Code Editor


Did this answer your question?