Jump to content

Loops/While: Difference between revisions

no edit summary
No edit summary
Line 1,592:
(message "%d" i)
(setq i (/ i 2))))</syntaxhighlight>
 
=={{header|EMal}}==
<syntaxhighlight lang="emal">
int i = 1024
while i > 0
writeLine(i)
i /= 2
end
</syntaxhighlight>
 
=={{header|Erlang}}==
226

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.