Reported by Eric Maddox
In the help file under the topic
TIniFile.DeleteKey
It says:
"Note: Attempting to erase a data value in a non-existent
section or attempting to erase data from a non-existent key are not
errors. In these cases, DeleteKey creates the section and key and sets
its initial value to an empty value."
DeleteKey does not create the section and key with an empty value. It
deletes the key.
This is an error in the documentation. I am happy with the way DeleteKey
really works. |