Difference between revisions of "FileAppend"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Appends the specified string expression to the end of the specified ASCII file; if the specified file does not exist, the file will be created. ==== Usage ==== <syntaxhighl...")
 
Line 9: Line 9:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>FileAppend("C:\test.txt","Appended Text");  will append the string expression "Appended Text" to the end of the test.txt file in the root directory of the C: hard drive</syntaxhighlight>  
+
<syntaxhighlight>FileAppend("C:\test.txt","Appended Text");  will append the string expression "Appended Text"  
 +
to the end of the test.txt file in the root directory of the C: hard drive</syntaxhighlight>  
  
  

Revision as of 12:32, 23 January 2012

Appends the specified string expression to the end of the specified ASCII file; if the specified file does not exist, the file will be created.

Usage

FileAppend("PathFilename","StringExpression")

Where: PathFilename - a string expression specifying the path and filename

StringExpression - the string expression to be appended to a file

Example

FileAppend("C:\test.txt","Appended Text");  will append the string expression "Appended Text" 
to the end of the test.txt file in the root directory of the C: hard drive