Jump to content

Count in octal: Difference between revisions

→‎Tcl: Added implementation
(Added PicoLisp)
(→‎Tcl: Added implementation)
Line 32:
<lang PicoLisp>(for (N 0 T (inc N))
(prinl (oct N)) )</lang>
 
=={{header|Tcl}}==
<lang tcl>package require Tcl 8.5; # arbitrary precision integers; we can count until we run out of memory!
while 1 {
puts [format "%llo" [incr counter]]
}</lang>
 
=={{header|UNIX Shell}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.