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

TSmallIntHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 1056

public property TSmallIntHelper.Nibbles[aIndex: TSmallIntNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

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

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

See also

TSmallIntHelper.Bits

  

Read or write a bit.

TSmallIntHelper.Bytes

  

Read or write a byte.


Documentation generated on: Dec 23 2024