Home > Documentation > Syntax > Keywords > Call
Execute a template by calling it. There is no return value; templates output generated code to a file.
Definition
call [template_name](argument,list)
Description
- template_name – identifier
The template to execute as identified in its header. - argument list
Arguments are passed within parenthesis. Parenthesis can be omitted if the are no arguments, otherwise empty parenthesis indicate no arguments.
Eg:
call template1 call template2(tablevar,colvar)

Leave a comment