Quote Originally Posted by Brainer
You can try this:
But for all I know, Byte is 0.255, so if you assign a too big number, it'll be overrided - if you assign "512", B = "255". The same is with other ordinal types, but I guess they all have negative values - fx. Shortint is -128..127. So if you assign "312" to a ShortInt variable, it'll be set to "57".
Hehe, small fixes for you after testing:
if you assign "512", B = "0"
if you assign "312" to a ShortInt variable, it'll be set to "56"

But hardware/OS side?