local variables aren't carried over from alias to alias, even if one calls the other :tongue: so, if in your alias named VADD you want to modify the value of a variable that is local to the parent alias, you'll find it's not possible :s unless you return a piece of data to the parent instructing it to declare the variable locally

for example:

Code:
alias VADD {
........
 return set $(%var %var $+,) %newdata
}


then in your parent alias call $($vadd(),2) as a command

as hixxy said, /set first looks for local variables to change the value of, then moves on to global ones if none is found. this should be just what you need shocked


"The only excuse for making a useless script is that one admires it intensely" - Oscar Wilde