Search Results
Searching for: Loop
Repeat-While Loop
Language: Swift
The repeat-while loop executes a block of code while a boolean expression evaluates to true. It checks the boolean expression after each iteration. It terminates as soon as the expression evaluates to false. Same behaviour as the do-while loop in other languages.
For Each
Language: Java
The for-each loop iterates through every element in the array, without specifying size.
For Each
Language: Ruby
The for-each loop iterates through every element in the array, without specifying size.
< Previous Page | Next Page >