'
Marks text as a comment.
Syntax
' comment text
Input
N/A
Example
Template:
{pi_approx = 22.0 / 7.0; ' an approximation of pi}
{' Variable definitions}
{comment1 = "Sample data"}
{coil = 1}
{leaf = 2}
Comments
Any text preceded by a single quote, ', is treated as a comment and ignored by Templex. Comments are terminated by the end of a line or a closing brace. Comments are not written to any output text.
Comments can be used to annotate templates; for example, documenting lines of instructions or indicating the author of the template. Comments can also be used to "turn off" instructions that are not needed for a particular run. For large groups of such statements it is better to use templex_off and templex_on than to comment and uncomment the statements.