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

TCardinalHelper.Words

Read or write a word.

Declaration

Source position: syshelph.inc line 1129

public property TCardinalHelper.Words[aIndex: TCardinalWordIndex] : Word
  read GetWord
  write PutWord;

Description

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

MyCardinal.Clear; // %00000000000000000000000000000000 MyCardinal equals 0
MyCardinal.Words[1] := 1; // %00000000000000010000000000000000 MyCardinal equals 65536
WriteLn(MyCardinal.Words[1]); // 1

See also

TCardinalHelper.Bits

  

Read or write a bit.

TCardinalHelper.Nibbles

  

Read or write a nibble.

TCardinalHelper.Bytes

  

Read or write a byte.


Documentation generated on: Oct 27 2024