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

TCardinalHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 1127

public property TCardinalHelper.Nibbles[aIndex: TCardinalNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

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

MyCardinal.Clear;   // %00000000000000000000000000000000 MyCardinal equals 0
MyCardinal.Nibbles[1] := 3; // %00000000000000000000000000110000 MyCardinal equals 48
WriteLn(MyCardinal.Nibbles[1]); // 3

See also

TCardinalHelper.Bits

  

Read or write a bit.

TCardinalHelper.Bytes

  

Read or write a byte.

TCardinalHelper.Words

  

Read or write a word.


Documentation generated on: Oct 27 2024