The #parse directive is similar to the
#include directive with the addition that Template Engine will parse the external file. This is useful if you have a template fragment that you want to share between templates.
In the following example the file segment.txt is imported to the template using the
#parse directive. The content of
segment.txt is as follows:
In the following example the file Settings.txt is imported to the template using the
#parse directive. The content of
Settings.txt is as follows:
In the following example the file Calculate.txt is imported to the template using the
#parse directive. The content of
Calculate.txt is as follows: