Difference between revisions of "CANMASK (Characters)"
From SphereWiki
(Created page with "=Description= X branch only. This property is a bitmask, like the CAN property, and stores the CAN flags to be dynamically switched on or off from the base CAN property. Whe...") |
(→Description) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=Description= | =Description= | ||
− | X branch only. This property is a bitmask, like the CAN property, and stores the CAN flags to be dynamically switched on or off from the base CAN property. | + | X branch only. This property is a bitmask, like the CAN property, and stores the [[CAN (Characters)]] flags to be dynamically switched on or off from the base CAN property. |
When retrieving the CAN property, now it is first XORed with CANMASK (the return value will be CAN ^ CANMASK), so in other words: | When retrieving the CAN property, now it is first XORed with CANMASK (the return value will be CAN ^ CANMASK), so in other words: |
Latest revision as of 20:28, 28 April 2022
Description
X branch only. This property is a bitmask, like the CAN property, and stores the CAN (Characters) flags to be dynamically switched on or off from the base CAN property.
When retrieving the CAN property, now it is first XORed with CANMASK (the return value will be CAN ^ CANMASK), so in other words:
If a flag set in the CANMASK is also set in CAN, the flag is ignored; If a flag set in the CANMASK isn't set in CAN, the flag is considered as set.