Purpose
The INCLUDE statement reads and incorporates a file into the Net.Data Net.Data macro where the statement is specified.
Net.Data searches the directories specified in the INCLUDE_PATH statement in the initialization file to find the include file.
You can use include files the same way you can in most high level languages. They can insert common headings and footings, define common sets of variables, or incorporate a common subroutine 'library' of FUNCTION block definitions into a Net.Data macro.
Syntax
>>-%include---"--string--"-------------------------------------><
Parameters
Context
Can be found in these contexts:
Restrictions
Can contain these elements:
Examples
Example 1:
%HTML(start){
%INCLUDE "header.hti"
...
%}
Example 2:
%REPORT {
%INCLUDE "report_header.txt"
%ROW {
%INCLUDE "row_include.txt"
%}
%INCLUDE "report_footer.txt"
%}