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

TIntegerHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 1196

public property TIntegerHelper.Nibbles[aIndex: TIntegerNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

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

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

See also

TIntegerHelper.Bits

  

Read or write a bit.

TIntegerHelper.Bytes

  

Read or write a byte.

TIntegerHelper.Words

  

Read or write a word.


Documentation generated on: Nov 22 2024