Count in octal: Difference between revisions
Content added Content deleted
(Added implementation for dc) |
(→{{header|lang5}}: add.) |
||
Line 503: | Line 503: | ||
LabVIEW contains a Number to Octal String function. The following image shows the front panel and block diagram.<br/> |
LabVIEW contains a Number to Octal String function. The following image shows the front panel and block diagram.<br/> |
||
[[file:Count_in_octal.png]] |
[[file:Count_in_octal.png]] |
||
=={{header|lang5}}== |
|||
<lang lang5>'%4o '__number_format set |
|||
: cr "\n" . ; |
|||
: last' swap iota remove ; |
|||
: <each>loop do dup expand drop iota last' . cr 1 + loop ; |
|||
[ 1 2 ] <each>loop</lang> |
|||
=={{header|Liberty BASIC}}== |
=={{header|Liberty BASIC}}== |
||
Terminate these ( essentially, practically) infinite loops by hitting <CTRL<BRK> |
Terminate these ( essentially, practically) infinite loops by hitting <CTRL<BRK> |