[Overview][Resource strings][Constants][Types][Procedures and functions][Index] | Reference for unit 'unicodedata' (#rtl)

# equal(TUInt24Rec,Cardinal):Boolean

Check if cardinal and TUInt24Rec are equal

## Declaration

Source position: unicodedata.pas line 236

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

## Arguments

`a` |  | TUInt24Rec 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.

Documentation generated on: May 14 2021