SMC_ParseFile

Syntax

native SMCError:SMC_ParseFile(SMCParser:handle, const file[], &line = 0, &col = 0);

Usage

handle
A handle to an SMC 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.

Description

Parses a config file.

Return

An SMCParseError result.

Error

Invalid or corrupt handle.