Sign in Join
FPDoc Onlineexperiment

TIntegerHelper.Nibbles property

Member of TIntegerHelperpublicIn unit sysutils

Read or write a nibble.

Declaration

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

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