You're right. Sorry about that. I saw the same basic idea and thought it was the same problem. Evaluation brackets with variable names can always be complicated and can produce unexpected results. I've run into similar issues in the past and have had to work around them in different ways. Often, it's better to use $+() instead... and even then, you sometimes need to include $eval with it to evaluate it correctly.

As for var's not needing the equal sign with brackets, I've noticed that too and it has been a headache for me every now and then when something isn't incrementing/decrementing/$calc-ulating/etc and I have to figure out why. I usually don't think to check that = until I've checked a lot of other things. It would be great if that were fixed so that it always accepted the first = as part of the /var syntax and not as part of the variable's data.


Invision Support
#Invision on irc.irchighway.net