Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TQWordHelper.Words

Read or write a word.

Declaration

Source position: syshelph.inc line 1323

public property TQWordHelper.Words[aIndex: TQwordWordIndex] : Word
  read GetWord
  write PutWord;

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

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.


Documentation generated on: Jul 24 2023