Skip to content

TNativeIntHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1477

public property Bytes[aIndex : TNativeIntByteIndex]: Byte;

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

Name Description
TNativeIntHelper.Bits Read or write a bit.
TNativeIntHelper.Nibbles Read or write a nibble.
TNativeIntHelper.Words Read or write a word.
TNativeIntHelper.DWords