Variables

Local variables use #name and thread variables use $name.

Target guide

Local variables are scoped to the current execution context and are read with the # sigil. Thread variables are request-wide or thread-wide values read with the $ sigil. A bare word without a sigil is a method call, so undefined variables should keep their sigil in examples and application code.

Examples

Working pattern

1[2local(title) = 'Manual'3var(site_name = 'lairu.org')4#title + ' - ' + $site_name5]
Use this as a focused starting point and adapt it in context.

Related