C. Template Files Reference : include Statement—Include a Template File
 
Share this page                  
include Statement—Include a Template File
Includes another template file. You can nest include statements up to 20 levels deep.
The argument filename can be any of the template files beginning with "in." The filename can be unquoted, or enclosed in single or double quotes. The filename cannot include a directory path. The code generator searches for the included file in the directory specified by the II_TFDIR logical or environment variable. If you have not specified II_TFDIR, or if the file is not found in the specified directory, Vision searches for the file in the default location. For more information about specifying template file locations, see Template File Locations.
This statement has the following syntax:
## include filename
Examples—include statement:
The following statement includes the template file "inend.tf" into a frame template:
## include inend.tf
The following statement tells the code generator to include the template file to generate a Next menu item:
## include innxmn.tf