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

TWordHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1007

public property TWordHelper.Bytes[aIndex: TWordByteIndex] : Byte
  read GetByte
  write PutByte;

Description

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

MyWord.Clear; // %0000000000000000 MyWord equals 0
MyWord.Bytes[1] := 1; // %0000000100000000 MyWord equals 256
WriteLn(MyWord.Bytes[1]); // 1

See also

TWordHelper.Bits

  

Read or write a bit.

TWordHelper.Nibbles

  

Read or write a nibble.


Documentation generated on: Dec 21 2024