Have a look, and if you're still having problems, ask!
In reply to Re^3: nested variable resolution by FunkyMonk in thread nested variable resolution by mpettis