Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "QuakeC Loops and Conditions"
From Quake Wiki
(New page: === Loops and conditions === == Conditional construct == if( expression ) { statements } else { statements } == Loop construct == while( exp...) |
(No difference)
|
Revision as of 19:32, 7 May 2008
Loops and conditions
Conditional construct
if( expression ) { statements } else { statements }
Loop construct
while( expression ) { statements }
or
do { statements }while( expression )