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

TCardinalHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1128

public property TCardinalHelper.Bytes[aIndex: TCardinalByteIndex] : Byte
  read GetByte
  write PutByte;

Description

Bytes property reads or writes byte value to a byte number determined by argument aIndex.

MyCardinal.Clear; // %00000000000000000000000000000000 MyCardinal equals 0
  MyCardinal.Bytes[1] := 1; // %00000000000000000000000100000000 MyCardinal equals 256
  WriteLn(MyCardinal.Bytes[1]); // 1

See also

TCardinalHelper.Bits

  

Read or write a bit.

TCardinalHelper.Nibbles

  

Read or write a nibble.

TCardinalHelper.Words

  

Read or write a word.


Documentation generated on: Dec 27 2024