TextFileAppend
From kwiki
| | This article is written by Konrad, thus using rather nonstandard English:) |
TextFileAppend (DNM Script function)
Contents |
[edit]
full declaration
bool TextFileAppend (string sPath,string sContents)
[edit]
return value
[edit]
description
Appends sContents to a text file specified by sPath.
[edit]
Examples
//Text files sample, using TextFile... functions
//let's save a file, if it doesn't exist - it will be created.
TextFileSave("c:\\test file.txt","Hello world!");
//Load it:
var $s=TextFileLoad("c:\\test file.txt");
//and show the contents:
MessageBox($s);
//Add some text:
TextFileAppend("c:\\test file.txt"," Added text...");
//again, load it:
$s=TextFileLoad("c:\\test file.txt");
//and again, show the contents:
MessageBox($s);
[edit]
