Help on hex to decimal conversion
I wonder if somebody have in his tools a routine to convert a two digit hex number into a integer.
It·will save me a lot of agravation.
I really thank you in advance.
It·will save me a lot of agravation.
I really thank you in advance.

Comments
PRI hexToInteger(h) : v if h => "0" and h =< "9" v := h - "0" elseif h => "A" and h=< "F" v := h - "A" + 10 elseif h => "a" and h =< "f" v := h = "a" + 10 PRI twoHextoInteger(h2,h1) : v v := hexToInteger(h2) << 4 | hexToInteger(h1)Thanks.