- :any
as
format given value as implied type
Parameters
as value :any
Attributes
binary | format integer as binary | |
hex | format integer as hexadecimal | |
octal | format integer as octal | |
agnostic | convert words in block to literals, if not in context | |
data | parse input as Arturo data block | |
code | convert value to valid Arturo code | |
pretty | prettify generated code | |
unwrapped | omit external block notation |
Returns
Examples
copyprint as.binary 123 ; 1111011 print as.octal 123 ; 173 print as.hex 123 ; 7b