lv() - local variables

local variables would help reduce copy & paste repetition within formulas, without breaking how kustom works currently. They'd be accessible within the current formula field only, not in the entire object and not in the group.

lv([name], [value]) - stores a value under a name. this returns an empty string.
lv([name]) retrieves the stored value. if value wasn't set, returns empty string (or throws an error, can be either).

example in a "real" formula:

$lv(webget, tc(reg, wg(raw, ""), "<br/>", tc(utf, 0a)))$
result: ($tc(len, lv(webget))$ characters)


result: (1240 characters)
webpage content
content content content

Available in 3.63