new ReporterVariablesFile(dir, filename)
- Description:
- Constructs a new ReporterVariablesFile object by deleting the existing file at the specified location and opening a new empty file.
- Source:
Example
let file = new ReporterVariablesFile(reporter_temp, ReporterVariablesFile.JOB_CONTROL);
Parameters:
Name | Type | Description |
---|---|---|
dir |
string | Directory |
filename |
string | Filename |