[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# IntToIdent

Looks up an identifier for an integer value in a identifier-to-integer map list.

## Declaration

`function IntToIdent(`
`Int: LongInt;`
`var Ident: String;`
`const Map: array ... of TIdentMapEntry`
`):Boolean;`

## Description

IdentToInt searches Map for an entry whose Value field matches Int and returns the corresponding identifier in Ident. If a match was found, the function returns True, otherwise, False is returned.

## See also

TIdentToInt |  | Callback for converting identifiers to integers.
TintToIdent |  | Callback for converting integers to identifiers.
IdentToInt |  | Looks up an integer value in a integer-to-identifier map list.
TIdentMapEntry |  | Record used when associating names with integer values.