Sign in Join
FPDoc Onlineexperiment

TUInt24Rec.equal(Cardinal,TUInt24Rec):Boolean operator

Member of TUInt24RecpublicIn unit unicodedata

Check whether a TUInt24Rec value equals a cardinal value.

Declaration

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

Arguments

a

Cardinal to compare.

bTUInt24Rec to compare.

Function result

True if a and b are equal.

Description

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