Loops/While: Difference between revisions

Content added Content deleted
(+AutoHotkey)
m (→‎{{header|AutoHotkey}}: Minor indentation and casing edit)
Line 50: Line 50:
<lang AutoHotkey>
<lang AutoHotkey>
i = 1024
i = 1024
while (i > 0)
While (i > 0)
{
{
output = %output%`n%i%
output = %output%`n%i%
i := floor(i / 2)
i := Floor(i / 2)
}
}
msgbox % output
MsgBox % output
</lang>
</lang>