Count in octal: Difference between revisions

Content added Content deleted
Line 1,137: Line 1,137:


=={{header|Rust}}==
=={{header|Rust}}==
<lang Rust>fn main() {
<lang Rust>use std::uint;

for i in range(std::uint::min_value, std::uint::max_value) {
fn main() {
for i in range(uint::min_value, uint::max_value) {
println(fmt!("%o", i));
println(fmt!("%o", i));
}
}
}
}</lang>
</lang>
Please note: on x86_64 std::uint::max_value currently equals to 2^64-1 (or 18446744073709551615)
Please note: on x86_64 uint::max_value currently equals to 2^64-1 (or 18446744073709551615)


=={{header|Salmon}}==
=={{header|Salmon}}==