Jump to content
Sign in to follow this  
merriman

Problem with IniDelete

Recommended Posts

The documentation is wrong. The function only returns 0 if the file does not exist or if the file is read-only. The function returns 1 if the key/section was deleted or if the key/section did not exist. In both cases, the result is the same, the key/section is gone.

Share this post


Link to post
Share on other sites

The documentation is wrong. The function only returns 0 if the file does not exist or if the file is read-only. The function returns 1 if the key/section was deleted or if the key/section did not exist. In both cases, the result is the same, the key/section is gone.

Thanks for your prompt reply. The correct usage does make more sense.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...