Sign in Join
FPDoc Onlineexperiment

TQWordHelper.Nibbles property

Member of TQWordHelperpublicIn unit sysutils

Read or write a nibble.

Declaration

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

Description

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

MyQWord.Clear;   // %0000000000000000000000000000000000000000000000000000000000000000 MyQWord equals 0
MyQWord.Nibbles[1] := 3; // %0000000000000000000000000000000000000000000000000000000000110000 MyQWord equals 48
WriteLn(MyQWord.Nibbles[1]); // 3

See also

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