Literals/Integer: Difference between revisions

Literals/Integer en BASIC256
(Literals/Integer en BASIC256)
Line 461:
16
2</pre>
 
==={{header|BASIC256}}===
<lang freebasic>print 17
print 0o21 #octal
print 0x11 #hexadecimal
print 0b10001 #binary
 
print FromRadix(17,10) #FromRadix(string, base)
print FromOctal(21)
print FromHex(11)
print FromBinary(10001)</lang>
 
==={{header|BBC BASIC}}===
2,122

edits