Sign in Join
FPDoc Onlineexperiment

TUInt24Rec.equal(TUInt24Rec,Cardinal):Boolean operator

Member of TUInt24RecpublicIn unit unicodedata

Check if cardinal and TUInt24Rec are equal.

Declaration

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

Arguments

aTUInt24Rec to compare.
b

Cardinal to compare.

Function result

True if a and b are equal.

Description

The cardinal 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.