The vec function is an lvalue, as well as possessing a setter form, so you can set bitfields with it.
Added: I was going to add an example, but Tanktalus++ beat me to it.
After Compline,
Zaxo
In reply to Re: Giving names to bits
by Zaxo
in thread Giving names to bits
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |