TCardinalHelper.Bytes property
Read or write a byte.
Declaration
property Bytes[aIndex: TCardinalByteIndex]: Byte read GetByte write PutByte;Description
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
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
