native

INI_ParseFile

Syntax

native bool:INI_ParseFile(INIParser:handle, const file[], &line = 0, &col = 0, any:data = 0);

Description

Parses an INI config file.

Parameters

handle A handle to an INI Parse structure.
file A string containing the file path.
line An optional by reference cell to store the last line number read.
col An optional by reference cell to store the last column number read.
data An optional handle or value to pass through to callback functions

Return

An SMCParseError result.

Error

Invalid or corrupt handle.