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) |
|||
{ |
{ |
||
output = %output%`n%i% |
output = %output%`n%i% |
||
i := |
i := Floor(i / 2) |
||
} |
} |
||
MsgBox % output |
|||
</lang> |
</lang> |
||