If a file object is passed in, will write the object given. If a path to a file name will write the full data and close the file. For writing binary and test based files. Will append to an existing file.


STRING = FileWrite( p1, p2, p3 )
Argument Summary
p1 srcFile / file object
p2 datatowrite
p3 charset [optional]