Thread
:
[TUT] Bits, Bit-fields, and Bit-wise Operators
View Single Post
eyal282
Veteran Member
Join Date: Aug 2011
06-06-2017 , 09:43 Re: [TUT] Bits, Bit-fields, and Bit-wise Operators
#
78
Can you do for example:
#define SetUserBool(%1,%2) ( %1 |= (1 << (%2 - 1)))
Because it will range from 0 to 31.
Last edited by eyal282; 06-06-2017 at
17:08
.
eyal282
View Public Profile
Send a private message to eyal282
Visit eyal282's homepage!
Find More Posts by eyal282