Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 22, 2019 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/f0f0a15c141c63f7468d2add350464ba to your computer and use it in GitHub Desktop.
Save Whateverable/f0f0a15c141c63f7468d2add350464ba to your computer and use it in GitHub Desktop.
evalable6
say :16(0306)
(exit code 1)
Potential difficulties:
Leading 0 has no meaning. If you meant to create an octal number, use '0o' prefix; like, '0o306'. If you meant to create a string, please add quotation marks.
at /tmp/DXySYOYdaC:1
------> say :16(0306⏏)
This call only converts base-16 strings to numbers; value 306 is of type Int, so cannot be converted!
(If you really wanted to convert 306 to a base-16 string, use 306.base(16) instead.)
in block <unit> at /tmp/DXySYOYdaC line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment