Skip to content

TIntegerHelper.Nibbles

Read or write a nibble.

Declaration

Source position: syshelph.inc line 1199

public property Nibbles[aIndex : TIntegerNibbleIndex]: nibble;

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

Name Description
TIntegerHelper.Bits Read or write a bit.
TIntegerHelper.Bytes Read or write a byte.
TIntegerHelper.Words Read or write a word.