Nope,
the values will not be mixed up.
So if you have a global variable %x 5
and in some script you use: var %x = 1, then everything will process as it should. The local vars are seperate from the global vars.
That's why they arent messy at all in using loops, as they don't interfere with the global variables.
Local variables are variables that exist only for the duration of the script in which they are created
and can only be accessed from within that script.
Oh btw, I didn't think that the way you do it was bad (with the tokenizing), as a matter of fact I even
said that I liked it, and that i hadn't seen it done like that before. Just as clarification

Greetz