Sign in Join
FPDoc Onlineexperiment

TUInt24Rec.equal(LongInt,TUInt24Rec):Boolean operator

Member of TUInt24RecpublicIn unit unicodedata

Check whether a TUInt24Rec value equals a longint value.

Declaration

pascal
TUInt24Rec.class operator equal(a: LongInt; b: TUInt24Rec): Boolean

Arguments

a

Longint value to compare.

bTUInt24Rec to compare.

Function result

True if a and b are equal.

Description

The longint a is considered equal to b if the fourth byte (LSB) is zero, and the first three bytes equal byte0, byte1, and byte2.

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