Sign in Join
FPDoc Onlineexperiment

TFPSMap.Remove function

Member of TFPSMappublicIn unit fgl

Remove a key/value pair from the map.

Declaration

pascal
function Remove(AKey: Pointer): Integer

Arguments

AKey

Key to remove from the map.

Function result

Index of AKey prior to removal, or -1 if not found.

Description

Remove removes the key/value pair pointing to by AKey from the map. It returns the index of Akey prior to removal from the list. If AKey was not found, -1 is returned.

Errors

None.

See also

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