Include File

Description

Includes the contents of the specified file into the generated script.

Parameters

This function block has the following parameters:

Parameter

Description

Include File Name

The path of the file to be included.

Include File Pseudo Code

#include"c:\gefanuc\includes\FuncsLib.txt"

 Note: This function block works in the same way the #include"<file>" workin C/C++. This function block accepts a files that has only simple VB statements, and not the functions / sub-routines declaration. Since the entire contents of the file would be included with the Main function of the generated script.

More information

RCO function blocks.