Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • $\begingroup$ Learned a lot from this. Thanks! (+1) $\endgroup$ Commented Dec 9, 2017 at 17:22
  • $\begingroup$ Your usage wipes all the existing input aliases out of the InputAliases option. Perhaps you could update to append this the existing list of input aliases. $\endgroup$ Commented Dec 9, 2017 at 17:32
  • $\begingroup$ @Edmund See update. $\endgroup$ Commented Dec 9, 2017 at 17:34
  • 1
    $\begingroup$ Humm, there seems to be an issue with this solution when the hex numbers do not begin with a character. It works for f6 but not 6f. Is there a way to fix this? Well, you can just do "6f" in these cases. Perhaps best to always use the quotes? $\endgroup$ Commented Dec 9, 2017 at 17:36
  • 1
    $\begingroup$ @Edmund I added a version that starts the hex number with x so that mixtures of integers and letters can be added on. Then the interpretation function drops the x and converts to an integer. $\endgroup$ Commented Dec 9, 2017 at 18:14