INIFileHandler Module

BlitzMax Forums/BlitzMax Programming/INIFileHandler Module

Every time my program reads the INI, it will get the default for any parameter that does not exist. Which is fine, it just means the user has not changed it. If the user changes it, then the new value will get written.

If it is set to the default, then it does not matter whether it exists or not.

No different than if you play with the registry, some values don't exist because the system is using the default. If you want to change it, then you add the parameter. If you want the default back, you can just delete the parameter.