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

TWordHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 1006

public property TWordHelper.Nibbles[aIndex: TWordNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

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

MyWord.Clear;   // %0000000000000000 MyWord equals 0
MyWord.Nibbles[1] := 3; // %0000000000110000 MyWord equals 48
WriteLn(MyWord.Nibbles[1]); // 3

See also

TWordHelper.Bits

  

Read or write a bit.

TWordHelper.Bytes

  

Read or write a byte.


Documentation generated on: Dec 22 2024