Sign in Join
FPDoc Onlineexperiment

TUInt24Rec.equal(TUInt24Rec,LongInt):Boolean operator

Member of TUInt24RecpublicIn unit unicodedata

Check whether a TUInt24Rec value equals a longint value.

Declaration

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

Arguments

aTUInt24Rec to compare.
b

Longint value to compare.

Function result

True if a and b are equal.

Description

The longint b is considered equal to a 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.