loopcondition
nounUK /ˈluːp kənˌdɪʃən/
US /ˈluːp kənˌdɪʃən/
A loop condition is a question a computer asks to decide if it should keep repeating something.
The loop condition checked if the counter was still less than ten.
RELATED WORDS
OTHER MEANINGS
2. In programming, the boolean expression evaluated before or after each pass of a loop to decide whether to continue.
If the loop condition becomes false, the while loop stops running.
3. A rule or test that determines when a repeated process should end.
The teacher set a loop condition so the game stopped after five rounds.
4. The state or requirement that keeps a repeating action going.
A broken loop condition can make a program run forever.