Anonymous user
Count in octal: Difference between revisions
→{{header|Standard ML}}: Standard ML solution
(Added F# example.) |
(→{{header|Standard ML}}: Standard ML solution) |
||
Line 1,303:
until FALSE;
end func;</lang>
=={{header|Standard ML}}==
<lang sml>local
fun count n = (print (Int.fmt StringCvt.OCT n ^ "\n"); count (n+1))
in
val _ = count 0
end</lang>
=={{header|Tcl}}==
|