Sign in Join
FPDoc Onlineexperiment

TNativeIntHelper.Nibbles property

Member of TNativeIntHelperpublicIn unit sysutils

Read or write a nibble.

Declaration

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

Description

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

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

See also

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