Count in octal: Difference between revisions
→{{header|FutureBasic}}
Line 1,382:
=={{header|FutureBasic}}==
<lang futurebasic>window 1, @"Count in Octal"
defstr word▼
▲defstr word
dim as short i
text ,,,,, 50
print @"dec",@"oct"
for i = 0 to 25
print i,oct(i)
next
HandleEvents</lang>
Output:
<pre>dec oct
0 00
1 01
2 02
3 03
4 04
5 05
6 06
7 07
8 10
9 11
10 12
11 13
12 14
13 15
14 16
15 17
16 20
17 21
18 22
19 23
20 24
21 25
22 26
23 27
24 30
25 31</pre>▼
▲</pre>
=={{header|Go}}==
|