Sign in Join
FPDoc Onlineexperiment

TStringHash.Modify function

Member of TStringHashpublicIn unit IniFiles

Try to modify an existing value.

Declaration

pascal
function Modify(const Key: string; Value: Integer): Boolean

Arguments

Key

Key to replace.

Value

New value for key.

Function result

True if the operation was successful.

Description

Modify will replace the value of Key with Value. Key must exist. It returns True if the operation was successful. If the value didn't exist, False is returned.

See also

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