Hi Lonny! > Verify, and or duplicate this problem? Yes, I can duplicate it! I ran exactly the same programs once under MiNT, once under MagiC. In MiNT I get a return value of 255, in MagiC I get -1. So MiNT seems to trim the value to a byte. It is most definitely not my code trimming it! Could anyone with more C experience than me look into this one? Cheers, Ingo =;->