Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Indefinite iteration

From Coderwiki
Revision as of 09:24, 15 August 2025 by Dylan (talk | contribs) (new: info, examples, definite)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Indefinite iteration is where a code block is repeated an unknown number of times.

It is generally condition controlled, meaning the code will repeat until a condition returns false.

Examples of indefinite iteration

edit edit source

Definite iteration

edit edit source

Indefinite iteration is the opposite of definite iteration.

See: Definite iteration