Loops/While: Difference between revisions

Content added Content deleted
(→‎LOLCODE: Add implementation)
(→‎Whitespace: Add implementation)
Line 1,358: Line 1,358:
x = x \ 2
x = x \ 2
Loop While x > 0</lang>
Loop While x > 0</lang>

=={{header|Whitespace}}==
<lang Whitespace>



</lang>
Pseudo-assembly equivalent:
<lang asm>push 1024

0:
dup onum push 10 ochr
push 2 div dup
push 0 swap sub
jn 0
pop exit</lang>


=={{header|XPL0}}==
=={{header|XPL0}}==