Sign in Join
FPDoc Onlineexperiment

TNativeUIntHelper.Nibbles property

Member of TNativeUIntHelperpublicIn unit sysutils

Read or write a nibble.

Declaration

pascal
property Nibbles[aIndex: TNativeUIntNibbleIndex]: nibble read GetNibble write PutNibble;

Description

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

MyNativeUInt.Clear;   // MyNativeUInt equals 0
MyNativeUInt.Nibbles[1] := 3; // MyNativeUInt equals 48
WriteLn(MyNativeUInt.Nibbles[1]); // 3

See also

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