TSmallIntHelper.Nibbles¶
Read or write a nibble.
Declaration¶
Source position: syshelph.inc line 1059
public property Nibbles[aIndex : TSmallIntNibbleIndex = TWordNibbleIndex]: nibble;
Description¶
Nibbles property reads or writes nibble value to a nibble number determined by argument aIndex.
MySmallInt.Clear; // %0000000000000000 MySmallInt equals 0
MySmallInt.Nibbles[1] := 3; // %0000000000110000 MySmallInt equals 48
WriteLn(MySmallInt.Nibbles[1]); // 3
See also¶
| Name | Description |
|---|---|
| TSmallIntHelper.Bits | Read or write a bit. |
| TSmallIntHelper.Bytes | Read or write a byte. |