Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_tools
set_bit_on/2
Description
set_bit_on/2 is an Erlang function exported by "age_tools" module.
Set bit ON.
References
•get_bit/2
Parameters
Name
Type
Int
integer()
Integer value.
Bit
Bit position
Result
Value or Type
Result value.
Code Sample
> age_tools:set_bit_on(1000, 1). 1002