TextFileLoad

From Wiki

Jump to: navigation, search
This article is written by Konrad, thus using rather nonstandard English:)

TextFileLoad (DNM Script function)

Contents

full declaration

string TextFileLoad (string sPath)

return value

string

description

Loads text file specified by sPath, and returns the result.

If GetLastError returns 0 the function succeeded, otherwise failed.

Advanced: GetLastAdditionalResult will return string, which may be one of the following:

"ansi": if the file was plain ASCII file

"utf-16 bom": if the file was UNICODE file and consisted BOM (in Windows most UNICODE files does)

"utf-16": if the file was UNICODE file

You can use this result in TextFileSave if you want to save the file in the same format as it was oryginally.

TnmH9J <a href="http://jovovoeedqeu.com/">jovovoeedqeu</a>, [url=http://jdgetcooslau.com/]jdgetcooslau[/url], [link=http://usnmylahvdnl.com/]usnmylahvdnl[/link], http://mvcfslguaubi.com/

See also


keywords: text file load read open contents files

Personal tools
konradp.com