Syntax:
retvalue = BSet( number, bitpos )
Parameter description:
Name Type 
Description 
number 
integer 
Value before changing a bit bitpos 
integer 
Position of bit that should be set 
Return value: value (type integer) where bit at bitpos has been
changed to 1
Code example:
print BSet( 2, 1 )