Page 1 of 1

Reset bit

Posted: Tue Oct 24, 2017 3:49 am
by yuangga23
Dear sir,
can i reset only one bit in a numeric gate?
can you give me an example if this is possible?
thanks before

Re: Reset bit

Posted: Tue Oct 24, 2017 9:23 am
by admin
Dear Sir,
yes, you can use ResetBit() function.

Code: Select all

SetNumGateValue("myNum", 0, ResetBit(GetNumGateValue("myNum", 0), 5));


Best Regards