Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The template is represented below:

Code Block
languagejs
$! if(isNotNull(baseVar)) { $
Well done, <strong>aseVar$ !
$! } else { $
Nobody to congratulate ?!? Whoaaaa !!!
$! } $

The script is represented below:

Code Block
languagejs
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
languagejs
Well done, Monster!

See also

...