Difference between revisions of "TFile.CreateINI"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''function CreateINI(const Path: string): TIniFile''''' Path: path to file that should be opened Result: TIniFile object ==Description== This function creates ...")
 
(The file isn't created, use TIniFile.UpdateFile)
 
Line 3: Line 3:
 
   Result: [[TIniFile]] object
 
   Result: [[TIniFile]] object
 
==Description==
 
==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.
+
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.
 
[[Category:TFile]]
 
[[Category:TFile]]

Latest revision as of 19:39, 16 June 2018

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.