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



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

TIntToIdent

Callback for converting integers to identifiers.

Declaration

Source position: classesh.inc line 1639

type TIntToIdent = function(

  Int: LongInt;

  var Ident: String

):Boolean;

Description

TIdentToInt is a callback used to look up integers (Ident) and return an identifier (Ident) that can be used to represent this integer value in an IDE. The callback should return True if a value corresponding to integer Ident was found, False if not.

A callback of type TIntToIdent should be specified when an integer is registered using the RegisterIntegerConsts call.

See also

RegisterIntegerConsts

  

Registers some integer-to-identifier mappings.

TIdentToInt

  

Callback for converting identifiers to integers.

Notes

 No notes exist for this page yet. 





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