Sign in Join
FPDoc Onlineexperiment

TQWordHelper.Bytes property

Member of TQWordHelperpublicIn unit sysutils

Read or write a byte.

Declaration

pascal
property Bytes[aIndex: TQwordByteIndex]: Byte read GetByte write PutByte;

Description

Bytes property reads or writes byte value to a byte number determined by argument aIndex.

MyQWord.Clear; // %0000000000000000000000000000000000000000000000000000000000000000 MyQWord equals 0
MyQWord.Bytes[1] := 1; // %0000000000000000000000000000000000000000000000000000000100000000 MyQWord equals 256
WriteLn(MyQWord.Bytes[1]); // 1

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.