"CALL" command is widely used to avoid duplications in template. It actually inserts referencing template at the point of execution. Template must be defined by "MACRO" command Call can be parametrized. Has two form of syntax.
Also see "MACRO" and "INCLUDE" commands.
Syntax1
%call<macro,param1,param2,...>
Syntax2
<call>macro[<,>param1<,>param2<,>...]<endcall>
where
macro - name of macro
param1 - will replace variable <1> in called template, etc.
Example
<macro>ShowAttribute<begin>%1%%.name%%2%%.type%%3%<endmacro>
<macro>main<begin>
Class T%.name%
<for>y attributes<begin><call>ShowAttribute<,> F<,>: <,>;%cr%<endcall><endfor>
<endmacro>
Generated result
Class TBankAccount
FNumber: string;
FUser: string;
FBalance: float;