from

get value from string, using given representation


Parameters

from value :string :literal

Attributes

binaryget integer from binary representation
hexget integer from hexadecimal representation
octalget integer from octal representation
opcodeget opcode by from opcode literal

Returns

  • :any

Examples

copy
print from.binary "1011" ; 11 print from.octal "1011" ; 521 print from.hex "0xDEADBEEF" ; 3735928559

copy
from.opcode 'push1 => 33

Related