Loops/Foreach: Difference between revisions

m
added ;Related tasks: section header.
m (added ;Related tasks: section header.)
Line 3:
 
Use your language's "for each" loop if it has one, otherwise iterate through the collection in order with some other loop.
<br><br>
 
 
;Related tasks:
* &nbsp; Loop over multiple arrays simultaneously
* &nbsp; Loops/Break
* &nbsp; Loops/Continue
* &nbsp; Loops/Do-while
* &nbsp; Loops/Downward for
* &nbsp; Loops/For
* &nbsp; Loops/For with a specified step
* &nbsp; Loops/Foreach
* &nbsp; Loops/Increment loop index within loop body
* &nbsp; Loops/Infinite
* &nbsp; Loops/N plus one half
* &nbsp; Loops/Nested
* &nbsp; Loops/While
<br><br>
=={{header|ACL2}}==