Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TByteHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 900

public property TByteHelper.Nibbles[aIndex: TByteNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

Nibbles property reads or writes nibble value to a nibble number determined by argument aIndex.

MyByte.Clear;   // %00000000 MyByte equals 0
MyByte.Nibbles[1] := 3; // %00110000 MyByte equals 48
WriteLn(MyByte.Nibbles[1]); // 3

See also

TByteHelper.Bits

  

Read or write a bit.


Documentation generated on: Jul 24 2023