File Statement

The file statement executes a sub-script file and captures the output of the sub-script file and then saving to an output file. The sub-script file can be any text file (with or without embedded Nuva tags). Examples:


1.    sourceFilename: The filename includes related path to the current file. Should be a string constant and cannot be a variable.

2.    Overwrite: true/false. Indicate if the output file should be overwritten while the output file is exists.

3.    Target: The output filename. If “target” is null or is empty string, the output of the file will not saving to a file but output to the current location.