writer class : writer(string) fitter
Description
Gets a new instance of writer class which is initialized with the file path.
Syntax
new writer(string fullPath)
Arguments
Class | Name | Description |
string | fullPath | The complete file path. |
Return value
Class | Description |
writer | A new instance of writer class that is initialized by specified value. |
Sample code
1: | writer w = new writer("c:\somewhere...\sample.txt"); |
Notes
It's a wrapper of the System.IO.StreamWriter.StreamWriter(String) constructor.
This fitter creates a instance of Writer class with UTF-8 encoding without a Byte-Order Mark (BOM).
The instance that was created is initialized as overwrite mode.