This page is part of a static HTML representation of the TiddlyWiki at


 19th April 2023 at 10:31am


New in v5.3.0 A procedure is a named snippet of text. They are typically defined with the Pragma: \procedure:

\procedure my-procedure(parameter:"Default value")
This is the procedure, and the parameter is <<parameter>>.

The name wrapped in double angled brackets is used a shorthand way of transcluding the snippet. Each of these procedure calls can supply a different set of parameters:

<<my-procedure "The parameter">>

The parameters that are specified in the procedure call are made available as variables.

How Procedures Work

Procedures are implemented as a special kind of variable. The only thing that distinguishes them from ordinary variables is the way that the parameters are handled.

Using Procedures