Read or write a byte.
Source position: syshelph.inc line 1128
public property TCardinalHelper.Bytes[aIndex: TCardinalByteIndex] : Byte |
Bytes property reads or writes byte value to a byte number determined by argument aIndex.
MyCardinal.Clear; // %00000000000000000000000000000000 MyCardinal equals 0 MyCardinal.Bytes[1] := 1; // %00000000000000000000000100000000 MyCardinal equals 256 WriteLn(MyCardinal.Bytes[1]); // 1
|
Read or write a bit. |
|
|
Read or write a nibble. |
|
|
Read or write a word. |