Loops/While: Difference between revisions
Content added Content deleted
(Slate implementation) |
(+AutoHotkey) |
||
Line 46: | Line 46: | ||
ENDWHILE |
ENDWHILE |
||
ENDPROC</lang> |
ENDPROC</lang> |
||
=={{header|AutoHotkey}}== |
|||
<lang AutoHotkey> |
|||
i = 1024 |
|||
while (i > 0) |
|||
{ |
|||
output = %output%`n%i% |
|||
i := floor(i / 2) |
|||
} |
|||
msgbox % output |
|||
</lang> |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |