User requested help with a script that set a variable to $1-, did a number of operations on a variable with multiple ifs and replaces, etc.. and returned the final output of the variable. Came across a situation where if $1- was literally a simple mathematical equation it in turn was evaluated instead of just returning. To save time, here's how to reproduce what's happening.
Code demonstrating the effect:
//tokenize 32 3 + 3 | var %b = $1- | echo -a %b
or
//tokenize 32 3 + 3 | set -l %b $1- | echo -a %b
Result: 6