TFile.CreateStringListFromFile

From Soldat Community Wiki
Revision as of 16:14, 26 July 2013 by Falcon (talk | contribs)
Jump to: navigation, search
function  CreateStringListFromFile(const Path: string): TStringList
 Path: path to file that should be opened
 Result: TStringList object

Description

This function creates a TStringList 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.