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

TShortIntHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 950

public property TShortIntHelper.Nibbles[aIndex: TShortIntNibbleIndex] : nibble
  read GetNibble
  write PutNibble;

Description

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

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

See also

TShortIntHelper.Bits

  

Read or write a bit.


Documentation generated on: Dec 27 2024