TMPL:DEF template definition
containing %SET macros will add those values to the current scope as if these settings have been
parsed as part of the current topic's text.
Setting a preference setting in a list like in
* Set foo = %SEARCH{...
will store the text of the TML expression.
The equivalent %SET statement:
%SET{"foo" value="%SEARCH{..."}%
will store the result of the TML expression as a consequence of the parser processing
macros inside-out-left-to-right.
| Parameter | Description | Default |
|---|---|---|
"name" |
Name of preference to set | |
value |
Value to set it to |
%SET{"search_result" value="%SEARCH{...}%"}%. The result of the value expression will be temporarily bound to the variable %search_result% and might be used within the scope of the current topic being processed