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

TNativeIntHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1469

public property TNativeIntHelper.Bytes[aIndex: TNativeIntByteIndex] : Byte
  read GetByte
  write PutByte;

Description

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

MyNativeInt.Clear; // MyNativeInt equals 0
MyNativeInt.Bytes[1] := 1; // MyNativeInt equals 256
WriteLn(MyNativeInt.Bytes[1]); // 1

See also

TNativeIntHelper.Bits

  

Read or write a bit.

TNativeIntHelper.Nibbles

  

Read or write a nibble.

TNativeIntHelper.Words

  

Read or write a word.

TNativeIntHelper.DWords


Documentation generated on: Jul 24 2023