GLOBAL SITES
 Home > Word-2-Web > Macrobject Word-2-Web Manual
Welcome to DocAuto products
Creating Web Help System
Options
Regenerating Web Help System
Using Command Line
Creating Customize Template
  Basic Concepts of Template
  Contents of a Template
  Template Tag and Nuva Language Reference
    Build-in variables
    Template Defined Options
    Nuva Language Reference
      Output Statements
      File Statement
      If Statement
      For Statement
      Foreach Statement
      While Statements
      Try Statements
      Functions and Classes
Working with Security Software
FAQ
Registering Word-2-Web
End User License Agreement

6.3.3.2 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:

Syntax:

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.

 

Related Topics

Nuva Language Reference