You should have done it as such:
alias test {
var %x = $!1-
echo -a [ [ %x ] ]
}
That's not an option. The script is much more complicated than that. I'm doing a lot more with %x than just echoing it, and using [ [ ] ] every time would be quite annoying (let alone the fact that $1 changes on /tokenize).
The set -ln method looks a lot better, however I also need to change EVERY assignment like
%a = %b
where %b might auto evalulate using calculation to
set %a %b
This is gonna be a lot of work (and isn't very straight forward coding either).
I was hoping for some global directive to prevent this (in my opinion useless) auto-calculation in general.