Jump to content
The simFlight Network Forums

Recommended Posts

Posted
Peter a rapid question.

In the offset 0BCC = Spoiler Arm (size 4), (0=off, 1=arm for auto deployment), are 0 and 1 values or bit?

Values. All things are values unless it specifically says that the variable consists of a set of bits.

Of course in this case it doesn't really make a lot of differnce. The value is a BOOLEAN. In C/C++ a boolean "TRUE" value is anything non-zero, whilst "FALSE" is zero. However, the normal "TRUE" value used is consistently '1'.

Regards,

Pete

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.