Loops/While: Difference between revisions

Content added Content deleted
No edit summary
(Add example for blz)
Line 292: Line 292:
<lang befunge>84*:*> :v
<lang befunge>84*:*> :v
^/2,*25.:_@</lang>
^/2,*25.:_@</lang>

=={{header|blz}}==
<lang blz>num = 1024
while num >= 1 # blz will automatically cast num to a fraction when dividing 1/2, so this is necessary to stop an infinite loop
print(num)
num = num / 2
end</lang>


=={{header|Bracmat}}==
=={{header|Bracmat}}==