InvertBit (class MKI_BITFIELD) New in Version 6.50

www.CAD6.com

C++ Syntax

void

MKI_BITFIELD::InvertBit(

 const unsigned f_unBitNum );

 

Inverts the given bit.

 

Parameters

BitNum

[const unsigned] Number of the bit to access. Bit 0 is the highest bit in the first byte, bit 7 is the lowest bit in the first byte, bit 8 is the highest bit in the second byte, and so on. If BitNum is out of range, nothing will be done.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH