Remember that 'Byte' does not imply any ability to convert a value from Hex into decimal.
That's not entirely true. It's just that Byte() doesn't know the string is supposed to be a hexadecimal number and converts it to 0 (well, doesn't convert it really).You can can, however, give it a helping hand...
Global c:Byte = $55 Print Hex(c) Print Byte("$" + Hex(c & $FF)) ' BMax coolness in action :o) c = ~c Print Hex(c) Print Byte("$" + Hex(c & $FF))Although why you'd want to, when you can just use...
Print c...is beyond me?
[edit]
Did you mean this...
Print RSet(Hex(c), 2) 'Print Hex(c)[Hex(c).length - 2..] ' More BMax fun :o)??
[/edit]
Also, BYTE is unsigned...