Although "%var = blah" respects the variable "state" (local or global), this may confuse me a little if I used it to create one. I only use this way when I know %var was already set before in the same code..
Btw, it respects the variable state because /var has priority against /set. If you use "//var %x = 1 | set %x 2 | echo -a %x" (or "//var %x = 1 | %x = 2 | echo -a %x"), it will echo "2" but %x won't be recognized as a global variable.
But then, if you firstly set %x as a global one and then you set it again as a local one, it will be kinda "duplicated".


* cold edits his posts 24/7