For
This kind of loop is good for program pieces meant to run (almost) the same way many times. Here's an example:
for the numbers 1-5 draw myShips[number]
Concept last updated: 23/09 2003.
Relations
|
Other sources
- Diverse opgaver - Iteration
- Eksempler på programmerings-sprog - For
- Start på Javascript 1.5; Jes Nyhus; 1.udgave (obl.) - 7. Løkker - for-løkker