Loops/While: Difference between revisions

Content added Content deleted
No edit summary
Line 456: Line 456:
io:format("~w~n", [N]),
io:format("~w~n", [N]),
loop(N div 2).</lang>
loop(N div 2).</lang>


=={{header|ERRE}}==
<lang ERRE>
I%=1024
WHILE I%>0 DO ! you can leave out >0
PRINT(I%)
I%=I% DIV 2 ! I%=INT(I%/2) for C-64 version
END WHILE
</lang>



=={{header|Euphoria}}==
=={{header|Euphoria}}==