While

From QuakeQEWiki
Jump to navigation Jump to search

Vanilla Quake C has while and do while loops.

They function much as in other languages allowing multiple passes through the same instruction set.

Importantly, in Quake Enhanced, trying to loop more than 6644 times will cause the game to crash with a 'runaway loop error'