Sign in Join
FPDoc Onlineexperiment

TIdentToInt procedure type

In unit Classes

Callback for converting identifiers to integers.

Declaration

pascal
TIdentToInt = function(const Ident: string; var Int: LongInt): Boolean

Description

TIdentToInt is a callback used to look up identifiers ( Ident) and return an integer value corresponding to this identifier ( Int). The callback should return True if a value corresponding to integer Ident was found, False if not.

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

See also

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