BIC, BIS

Portability Subroutines: Perform a bit-level set and clear for integers.

Module: USE DFPORT

Syntax

CALL BIC (bitnum, target)
CALL BIS (bitnum, target)

bitnum
(Input) INTEGER(4). Bit number to set. Must be in the range 0 (least significant bit) to 31 (most significant bit).


target
(Input) INTEGER(4). Variable whose bit is to be set.

BIC sets bit bitnum of target to 0; BIS sets bit bitnum to 1.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: BIT