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