Difference between revisions of "GetINISection"
Jump to navigation
Jump to search
imported>Gribbleshnibit8 (Created page with "{{Function |origin = LU |summary = Returns a stringmap of all keys in an INI section and their values. |name = GetINISection |returnType = array |arguments = {{Functio...") |
imported>Gribbleshnibit8 m (fix red links) |
||
Line 25: | Line 25: | ||
==See Also== | ==See Also== | ||
*[[SetINISection]] | *[[SetINISection]] | ||
*[[GetINISectionNames]] | |||
[[Category:Functions_(Lutana)]] | [[Category:Functions_(Lutana)]] | ||
[[Category:Ini_Functions_(Lutana)]] | [[Category:Ini_Functions_(Lutana)]] |
Revision as of 20:39, 17 December 2016
< [[::Category:Functions|Category:Functions]]
A function added by the Lutana NVSE plugin.
Description
Returns a stringmap of all keys in an INI section and their values.
Syntax
(array) GetINISection section:string filename:string
Notes
INI files are read from and written to in the Data\config\ folder (as in MCM's INI functions). Format Example
If no filename is specified, the name of the mod the function is called from is used. Subdirectories can be defined in the path, e.g. "subDir\nameOfFile"
Writing to an INI file that does not exist will create it along with any non-existent subdirectories in its path.
A keystring is a string containing both the section and key in the format: "Section:Key" ('\' and '/' may also be used as the delimiter.)