Skip to content

Functions

ro edited this page Jun 1, 2022 · 1 revision

Functions in PAML can be done by using the <function> tag, and can be called by using double brackets ({{}}).

Example

<function name="myFunction" arguments="greeting name">Well {{greeting}}, {{name}}!</function>
{{myFunction(hello, world)}}

<!-- Expected Output -->
Well hello, world!

Clone this wiki locally