BSet64 Function

Sets a bit in a number and returns the new value.

Syntax
BSet64 (number, bitNum)

Parameters

number
Specify the value to set the bit with an expression or numeric value.
bitNum
Specify the bit (integer from 0 to 63) to be set by an expression or numeric value.

Return Values
Returns the bit set value of the specified numeric value (integer).

See Also
BClr, BClr64, BSet, BTst, BTst64

BSet64 Function Example

flags = BSet64(flags, 1)