Loops/While: Difference between revisions
added Fantom example
(added Fantom example) |
|||
Line 215:
<lang false>1024[$0>][$."
"2/]#%</lang>
=={{header|Fantom}}==
<lang fantom>
class Main
{
public static Void main ()
{
Int i := 1024
while (i > 0)
{
echo (i)
i /= 2
}
}
}
</lang>
=={{header|Forth}}==
|