Sign in Join
FPDoc Onlineexperiment

TSmallIntHelper.Nibbles property

Member of TSmallIntHelperpublicIn unit sysutils

Read or write a nibble.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.