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

TIntegerHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1197

public property TIntegerHelper.Bytes[aIndex: TIntegerByteIndex] : Byte
  read GetByte
  write PutByte;

Description

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

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

See also

TIntegerHelper.Bits

  

Read or write a bit.

TIntegerHelper.Nibbles

  

Read or write a nibble.

TIntegerHelper.Words

  

Read or write a word.


Documentation generated on: Dec 23 2024