Converting ASCII to hex

@ PaulMurrayCbr

Your solution of Post#3 is expected to provide what OP wants --

OP's Requirement Your solution Provides
hex[0] = 11 hex[0] = 1
hex[1] = 22 hex[1] = 2
...........................................

Will you please look into your Post#3?