> The error you're receiving is because you've named the loop variable the same > as the injected variable, which overrides the injected variable.
Sigh. I know what I've done and what is needed to overcome it, but the message makes no sense and the error makes no sense in terms of scope. The x in the loop is simply the name of an argument that is the value of the parameter to bod() -- it has nothing at all to do with the x inside of bod(), which is in a totally different context. There's some sort of symbol table mishandling going on here.
