iterationcondition
nounUK /ˌɪtəˈreɪʃən kənˈdɪʃən/
US /ˌɪtəˈreɪʃən kənˈdɪʃən/
A rule that tells a repeating loop when it should stop.
The programmer set the iteration condition so the loop would end after ten tries.
RELATED WORDS
OTHER MEANINGS
2. A requirement that must be true before each repeat of a process can continue.
The iteration condition checked whether the list still had items left to process.
3. In math, a test that decides if a repeated calculation should keep going.
The iteration condition stopped the sequence once the numbers got close enough to the answer.
4. A state or situation that triggers the next round of a repeating action.
Engineers adjusted the iteration condition to make the robot repeat its steps exactly five times.