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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.