TFile.CreateINI

From Soldat Community Wiki
Revision as of 16:17, 26 July 2013 by Falcon (talk | contribs) (Created page with " '''''function CreateINI(const Path: string): TIniFile''''' Path: path to file that should be opened Result: TIniFile object ==Description== This function creates ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
function CreateINI(const Path: string): TIniFile
 Path: path to file that should be opened
 Result: TIniFile object

Description

This function creates a TIniFile object that is attached file pointed by path parameter. Might throw EAccessDenied exception if path is inaccessible from script's sandbox or access is denied by operating system. The file will be created if it doesn't exist yet.