Count in octal: Difference between revisions

Content added Content deleted
(→‎{{header|AutoHotkey}}: AutoHotkey example added)
(add Ruby)
Line 500:
until FALSE;
end func;</lang>
 
=={{header|Ruby}}==
From the [http://www.ruby-doc.org/core/Fixnum.html documentation]: "A Fixnum holds Integer values that can be represented in a native machine word (minus 1 bit). If any operation on a Fixnum exceeds this range, the value is automatically converted to a Bignum."
 
<lang ruby>n = 0
loop do
puts "%o" % n
n = n + 1
end</lang>
 
=={{header|Tcl}}==