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


Declaration:property Bit[col, row, BitIx: integer]: boolean;

The property Bit allows the access of the individual bits of the byte matrix. A "zero" bit is interpreted as FALSE, a "one" bit is interpreted as TRUE. The parameters col, row and BitIx specify the column, the row, and the bit index, respectively.

The parameters col and row may take values between 1 and NrOfColumns, or 1 and NrOfRows, respectively. The parameter BitIx may take values between 0 and 7. If any parameter holds an invalid value, no action is performed on write, and the corresponding bit of the DefaultValue is returned on read.

Hint: If you have to access more than one bit of a given cell of the byte array, it is more efficient to use the property Byte.

Last Update: 2020-Aug-04