Order/construction of Flag

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
evilded777
Posts: 9
Joined: Fri May 27, 2005 10:49 am

Order/construction of Flag

Post by evilded777 »

Does the order on the various bits of Flag have any relevance?

Can you apply the different bits in combination, ie Flag="(8192+ 2048) + 1024"

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

The order doesn't matter just the sum. You can mix those three but I'm not sure what that will do. I'd try each one separately then mix two then the third and see what happens.

evilded777
Posts: 9
Joined: Fri May 27, 2005 10:49 am

Post by evilded777 »

Hmmm... it seems to me that the order does matter.

Because:

Flag="2048 + 8192"

does not display the same as

Flag="8192 + 2048"

but Flag="2048 + 8192"
is the same as
Flag=10240
?

User avatar
chkman
Posts: 329
Joined: Mon Aug 08, 2005 12:36 pm
Location: Greensburg, PA

Post by chkman »

Maybe you found a bug?

Post Reply