name requiredThe variable name to store under. The same name is used later by var to read the value. An empty name is ignored (nothing is stored).
expression requiredThe value to store. Any nested AA expression here is evaluated first, so the already-computed result is what gets stored.
{define:greeting:Hello, world}{var:greeting}
[{define:greeting:Hello}]
[{var:msg}{define:msg:set}]
{define:total:{count:a-b-c-d}}You have {var:total} items, see {var:total} again
{define:x:first}{define:x:second}{var:x}
{define:price:42}{math:{var:price}*2}