Sign in Join
FPDoc Onlineexperiment

TInt64Helper.Bytes property

Member of TInt64HelperpublicIn unit sysutils

Read or write a byte.

Declaration

pascal
property Bytes[aIndex: TInt64ByteIndex]: Byte read GetByte write PutByte;

Description

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

MyInt64.Clear; // %0000000000000000000000000000000000000000000000000000000000000000 MyInt64 equals 0
MyInt64.Bytes[1] := 1; // %0000000000000000000000000000000000000000000000000000000100000000 MyInt64 equals 256
WriteLn(MyInt64.Bytes[1]); // 1

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.