Sign in Join
FPDoc Onlineexperiment

IntToIdent function

In unit Classes

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

Declaration

pascal
function IntToIdent(Int: LongInt; var Ident: string; 
 const Map: Array of TIdentMapEntry = record
public
 Value: Integer;
 Name: string;
end
)
: 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.