TShortIntHelper.Nibbles¶
Read or write a nibble.
Declaration¶
Source position: syshelph.inc line 953
public property Nibbles[aIndex : TShortIntNibbleIndex = TByteNibbleIndex]: nibble;
Description¶
Nibbles property reads or writes nibble value to a nibble number determined by argument aIndex.
MyShortInt.Clear; // %00000000 MyShortInt equals 0
MyShortInt.Nibbles[1] := 3; // %00110000 MyShortInt equals 48
WriteLn(MyShortInt.Nibbles[1]); // 3
See also¶
| Name | Description |
|---|---|
| TShortIntHelper.Bits | Read or write a bit. |