in reply to Re: Why do I need a local variable in map functionin thread Why do I need a local variable in map function