Loops/While: Difference between revisions

+AutoHotkey
(Slate implementation)
(+AutoHotkey)
Line 46:
ENDWHILE
ENDPROC</lang>
 
=={{header|AutoHotkey}}==
<lang AutoHotkey>
i = 1024
while (i > 0)
{
output = %output%`n%i%
i := floor(i / 2)
}
msgbox % output
</lang>
 
=={{header|AWK}}==
Anonymous user