FileSystem.appendFile() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to FileSystem Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.FileSystem.appendFile(filePath:String, dataToAdd:String):Void

Parameters
filePath:String - Path to file where data will be appended

dataToAdd:String - Data to be added to file

Returns
Boolean - status of operation

Description
Appends the specified text data to the specified file. When error occurs during operation (for whatever reason) the false is returned by method. For example it could be returned if invalid path was passed as argument

Notes
Please note that return type of that method is changed compared to version Zinc 3.0

Example Code
mdm.FileSystem.appendFile("c:\\myFile.txt", "This is my extra text");
//
var succeeded:Boolean = mdm.FileSystem.appendFile(path, data);

mdm.FileSystem Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page