A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
7
Task/Literals-Integer/REXX/literals-integer.rexx
Normal file
7
Task/Literals-Integer/REXX/literals-integer.rexx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
thing=37
|
||||
thing='37' /*this is exactly the same as above. */
|
||||
|
||||
say 'base 10=' thing
|
||||
say 'base 2=' x2b(d2x(thing))
|
||||
say 'base 16=' d2x(thing)
|
||||
say 'base 256=' d2c(thing) /*the output shown is ASCII (or maybe EBCDIC).*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue