I have been looking at sending/receiving bytes down a serial interface and I got rather confused when using the Binary() command. I did a quick search of the forums without finding any further detail and then thrashed around experimenting, until I think I understand.
In the hope that this might help someone else starting down the same road, here is a trivial bit of code:
$a = Binary(0x12345678)
$b = Binary("ABCDEF")
$c = Binary("0x123456789")
$d = Binary("0x12345678")
MsgBox(0, Default,