[Overview][Classes][Index] |
Add a new value to the hash
Source position: inifiles.pp line 69
public procedure TStringHash.Add( |
const Key: string; |
Value: Integer |
); |
Key |
|
Key for this value |
Value |
|
Value to add to hash |
Add adds the value Value with name AKey to the list. The behaviour of Add depends on AddReplacesExisting. If if it is False, then the existing value is left unchanged, and an exception is raised. If AddReplacesExisting is True then an existing value is replaced.
An exception will be raised if the value already exists and AddReplacesExisting is False
|
Should Add replace existing values or not |
|
|
Try to modify an existing value |
|
|
Remove a key from the hash |
|
|
Retrieve value of Key |