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....



CombineWith


Unit:SDL_dstruct
Class: TBitFld
Declaration: procedure CombineWith (SecondBArray: TBitFld; Operation: TLogicOp);

The method CombineWith logically combines the bits of an external bit field with the bits of itself. The type of combination is given by the parameter Operation. It may take the values shown in the truth table below:

self 2nd loAnd loOr loXor loAndNot loOrNot loXorNot
0 0 0 0 0 0 1 1
0 1 0 1 1 0 0 0
1 0 0 1 1 1 1 0
1 1 1 1 0 0 1 1

Hint: The method CombineWith is executed only if SecondBArray is defined and has the same size.



Last Update: 2023-Feb-06