Sign in Join
FPDoc Onlineexperiment

TCardinalHelper.Words property

Member of TCardinalHelperpublicIn unit sysutils

Read or write a word.

Declaration

pascal
property 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

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