Squirrel/Server/Functions/Ini/ReadIniIndex
From Liberty Unleashed Wiki
(Difference between revisions)
(New page: __NOTOC__ This function reads the data name at the specified index from an .ini file. == Syntax == <code>bool ReadIniIndex( string filename, string section, int index )</code> == Argume...) |
|||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
+ | {{Squirrel/NeedsExample}} | ||
+ | <code lang="squirrel"> | ||
+ | -- todo | ||
+ | </code> | ||
+ | |||
+ | === Notes === | ||
+ | |||
+ | -- Example notes/used functions here | ||
== Related Functions == | == Related Functions == | ||
{{Squirrel/Server/Functions/Ini}} | {{Squirrel/Server/Functions/Ini}} |
Revision as of 20:35, 6 January 2010
This function reads the data name at the specified index from an .ini file.
Syntax
bool ReadIniIndex( string filename, string section, int index )
Arguments
- filename This is the name of the file
- section The section that contains the value you want read
- index The index in the ini (starting at 0)
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- Example notes/used functions here
Related Functions
These functions are provided by the official module lu_ini.