Pascal Scripting: LoadStringsFromLockedFile

Prototype:

function LoadStringsFromLockedFile(const FileName: String; var S: TArrayOfString): Boolean;

Description:

Loads the specified text file into the specified string array, even if the file is already opened for writing by another program. UTF-8 encoded files with or without a BOM are also supported. Returns True if successful, False otherwise.

See also:

LoadStringsFromFile