SetBit

<< Click to Display Table of Contents >>

Navigation:  Functions >

SetBit

SIGNATURE=IWUtils.SetBit@Byte@Byte@Boolean

 

ETYPE=Function

 

Declaration:

Delphi:

function SetBit(const aByte: Byte; const aBit: Byte; aIsSet: Boolean): Byte;

C++:

Byte SetBit(const Byte aByte, const Byte aBit, bool aIsSet);

 

Unit: IWUtils.pas

 

Description: This is function IWUtils.SetBit.

 

Parameters:

 

•aByte: Byte

 

•aBit: Byte

 

•aIsSet: Boolean

 

Result(Byte):