DQBsetBit
FUNCTION

Prototype

DECLARE FUNCTION DQBsetBit (BYVAL Value, BYVAL Bit)

Parameters

Value - INTEGER variable to set bit of

Bit - Bit number to set, ranging 0-15

Returns

An INTEGER value representing the old variable value with the new bit set

Description

Call this function to set a bit of a specified variable. This can be useful to create boolean variables.

Notes:

See DQBresetBit, DQBreadBit and DQBtoggleBit