TLookupList.ValueOfKey function
Look up value based on a key.
Declaration
function ValueOfKey(const AKey: Variant): VariantArguments
AKey | Key to find associated value for. |
Function result
Resulting value or
Null.
Description
ValueOfKey does a value lookup based on a key: it returns the value in the list that matches the
AKey key.
If none is found,
Null is returned.
This mechanism is quite slow, as a linear search is performed.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
