Loops/While: Difference between revisions

Add example for blz
No edit summary
(Add example for blz)
Line 292:
<lang befunge>84*:*> :v
^/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}}==