in reply to Passing a variable to a sub process.

You may find this node on scoping useful.
  • Comment on Re: Passing a variable to a sub process.