Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Binary-digits/BASIC256/binary-digits.basic
Normal file
10
Task/Binary-digits/BASIC256/binary-digits.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# DecToBin.bas
|
||||
# BASIC256 1.1.4.0
|
||||
|
||||
|
||||
dim a(3) #dimension a 3 element array (a)
|
||||
a = {5, 50, 9000}
|
||||
|
||||
for i = 0 to 2
|
||||
print a[i] + chr(9) + toRadix(a[i],2) # radix (decimal, base2)
|
||||
next i
|
||||
Loading…
Add table
Add a link
Reference in a new issue