Function Reference / setval

Set a variable that can be accessed either from within the current template or sub-templates via a call to val.