Echoing Output

The ECHO directive is used to print data to the output stream.

   [% echo foo %]

Since echoing is the primary purpose of using a templating language, an implied echo is available as a shortcut. If a code chunk contains only a single statement which is a non-assignment expression, it is assumed to be an ECHO.

   [% foo %]