Hex And Text

From time to time you might have to convert strings to hex or vice versa:

And the other way round:

These functions have a problem in Dyalog Unicode edition for characters beyond ⎕UCS 127; the last line of HexToText appears to be to squeeze out ⎕AV[0] that appears in alternating positions of 82 ⎕DR ⍵ if such characters are included in the Classic edition.


CategoryDyalog

HexAndText (last edited 2009-09-03 07:12:19 by anonymous)