Loops/While: Difference between revisions

(Nimrod -> Nim)
Line 1,054:
 
The usage of the type int32 is not convenient, since the math is done floating point, then rounding to integer, so that 1/2 will be always 1 and never 0.
 
=={{header|Oforth}}==
 
<lang Oforth>1024 while (dup 0 <>) [ dup println 2 / ]</lang>
 
=={{header|OOC}}==
1,015

edits