/var bug - 21/03/07 03:39 AM
If you set a variable with the /var command, then try to use that variable in another /var command, it will not work. For example:
Will give you * /echo: insufficient parameters. The only way to make it work is to do:
Code:
alias badvar { var %a 1,%b $iif(%a,a,b) echo %b }
Will give you * /echo: insufficient parameters. The only way to make it work is to do:
Code:
alias badvar { var %a 1,%b = $iif(%a,a,b) echo %b }