Skip to content

Added default value param to ConfigFile.get_value()

Ghost User requested to merge github/fork/neikeq/cfg_getval_default into master

ConfigFile.get_value(String section, String key) will allow passing an optional third parameter to specify the default value to be returned if the section or the section and key does not exist:

ConfigFile.get_value(String section, String key, var default=NULL)

Closes #2244 (closed)

Merge request reports