Computing expression in document template
Keywords: expression, document template
Computing expressions in document templates do not generate output for the document automatically. You may, however, use the WriteResult () built-in function for writing text to the document to be generated.
A computing expression must be defined as block enclosed in '$'. It may contain any number of statements, but no variable definitions.
Computing expressions can be used for defining and calculating variables.
${ if ( sex == female ) WriteResult('She',false);
else WriteResult('He',false); }$
Definition:
comp_expr := _dollar block _dollar