Sign in Join
FPDoc Onlineexperiment

IdentToInt function

In unit Classes

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

Declaration

pascal
function IdentToInt(const Ident: string; out Int: LongInt; 
 const Map: Array of TIdentMapEntry = record
public
 Value: Integer;
 Name: string;
end
)
: Boolean

Description

IdentToInt searches Map for an entry whose Name field matches Ident and returns the corresponding integer value in Int. 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.