Skip to content

TQWordHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1330

public property Bytes[aIndex : TQwordByteIndex = 0..7]: Byte;

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

Name Description
TQWordHelper.Bits Read or write a bit.
TQWordHelper.Nibbles Read or write a nibble.
TQWordHelper.Words Read or write a word.
TQWordHelper.DWords Read or write a dword.