Skip to content

TQWordHelper.Words

Read or write a word.

Declaration

Source position: syshelph.inc line 1331

public property Words[aIndex : TQwordWordIndex = 0..3]: Word;

Description

Words property reads or writes word value to a word number determined by argument aIndex.

MyQWord.Clear; // %0000000000000000000000000000000000000000000000000000000000000000 MyQWord equals 0
MyQWord.Words[1] := 1; // %0000000000000000000000000000000000000000000000010000000000000000 MyQWord equals 65536
WriteLn(MyQWord.Words[1]); // 1

See also

Name Description
TQWordHelper.Bits Read or write a bit.
TQWordHelper.Nibbles Read or write a nibble.
TQWordHelper.Bytes Read or write a byte.
TQWordHelper.DWords Read or write a dword.