Difference between revisions of "TFile"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Inheritance== *TFile ==Description== A class holding all functions related to file managment and interaction. user constructable: '''NO''' user destructable: '''NO'...")
 
m (Description)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
==Description==
 
==Description==
A class holding all functions related to file managment and interaction.
+
A class holding all functions related to file managment and interaction. <br>
 +
One object of this class is exported under global variable called '''[[Global_Variables.File|File]]'''.
  
 
  user constructable: '''NO'''
 
  user constructable: '''NO'''

Latest revision as of 13:00, 22 August 2013

Inheritance

Description

A class holding all functions related to file managment and interaction.
One object of this class is exported under global variable called File.

user constructable: NO
user destructable:  NO

Members

Member declaration
function CheckAccess(const FilePath: string): Boolean
function CreateFileStream(): TFileStream
function CreateFileStreamFromFile(const Path: string): TFileStream
function CreateStringList(): TStringList
function CreateStringListFromFile(const Path: string): TStringList
function CreateINI(const Path: string): TIniFile
function Exists(const Source: string): Boolean
function Copy(const Source, Destination: string): Boolean
function Move(const Source, Destination: string): Boolean
function Delete(const Source: string): Boolean