help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

IdentToInt

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

Declaration

Source position: classesh.inc line 1648

function IdentToInt(

  const Ident: String;

  var Int: LongInt;

  const Map: array of TIdentMapEntry

):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

TIdentToInt

  

Callback for converting identifiers to integers.

TIntToIdent

  

Callback for converting integers to identifiers.

IntToIdent

  

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

TIdentMapEntry

  

Record used when associating names with integer values.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505