but if i set the last bit of skill1 shouldn`t it have the value 2147483648 afterwards if i set skill1 to zero before? Because only the value zero is displayed instead of 2147483648.

But thanks for the explanation it helped a lot laugh
If i want to read out the value of the last bit should it look something like this? :

right_key = (my.skill1 & 0x80000000)>>31

and thanks for the quick answer

Last edited by Zwiebli; 02/17/11 20:06.