The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Invert


Unit:SDL_dstruct
Class:TBitFld
Declaration:procedure Invert;

The method Invert inverts the whole bit array by applying the NOT operator to the bit array. Note, that any logical combination of two bit arrays can be created by using the methods Invert and CombineWith.

Hint: The usage of the method Invert is much faster than inverting every individual bit by using the method ToggleBit within a loop.


Last Update: 2023-Feb-06