Hi guys,
Similar sort of question to the one I asked before (Binary Conversion). This time I was wondering how can I display a hexadecimal representation of a binary number or string.
For example, suppose I have a list of 8-bits:
set bitList "0 0 0 0 1 0 1 0"
By just examining it right now the hexadecimal representation is 0A.
But how would I convert this into the hexadecimal rep and display it on screen.
Please help me out again.
Regards
Similar sort of question to the one I asked before (Binary Conversion). This time I was wondering how can I display a hexadecimal representation of a binary number or string.
For example, suppose I have a list of 8-bits:
set bitList "0 0 0 0 1 0 1 0"
By just examining it right now the hexadecimal representation is 0A.
But how would I convert this into the hexadecimal rep and display it on screen.
Please help me out again.
Regards