Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
QuakeC Loops and Conditions
From Quake Wiki
Loops and conditions
Conditional construct
if( expression ) { statements } else { statements }
Loop construct
while( expression ) { statements }
or
do { statements }while( expression )