TIntegerHelper.Bytes property
Read or write a byte.
Declaration
property Bytes[aIndex: TIntegerByteIndex]: Byte read GetByte write PutByte;Description
Bytes property reads or writes byte value to a byte number determined by argument
aIndex.
MyInteger.Clear; // %00000000000000000000000000000000 MyInteger equals 0 MyInteger.Bytes[1] := 1; // %00000000000000000000000100000000 MyInteger equals 256 WriteLn(MyInteger.Bytes[1]); // 1
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
