Unit: | SDL_dstruct | Class: | TByteMatrix |
Declaration: | procedure CombineWith (SecondByteMatrix: TByteMatrix; Operation: TLogicOp); |
The method CombineWith logically combines the bits of an external byte matrix with the bits of itself. The kind 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 SecondByteMatrix is defined and has the same size. |
|