...
The template is represented below:
Code Block | ||
---|---|---|
| ||
$! if(isNotNull(baseVar)) { $ Well done, <strong>aseVar$ ! $! } else { $ Nobody to congratulate ?!? Whoaaaa !!! $! } $ |
The script is represented below:
Code Block | ||
---|---|---|
| ||
string baseVar = "Monster"; return executeTemplate("templates/some.tpl"); //note that we refer this relative to Kepler Home directory ! |
The output produced is following:
Code Block | ||
---|---|---|
| ||
Well done, Monster! |
See also
...