I am reading values from a comm port and recieve individual ascii characters
including non-printing and extended ones. They span the entire range from dec
value 0 to 255. What I need to do is get the decimal value from either a byte
or char value. i.e. NUL will give 0, SOH - 1, STX - 2 .... A - 39, B - 40
etc... up to 255
Have tried the web but can't sem to find anything.
Cheers in advance.
--
If at first you don't succeed... Hide the evidence that you tried!