assignment

Assigns a value to an existing local variable or data target.

Target operator

Signature

1#name = value

Assigns a value to an existing local variable or data target.

assignment is expression syntax rather than a method name. assignment affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.

Examples

Basic call

1local(total) = 02#total = #total + 1
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.