Currency variable missing from scope #5298

Explicitly specified that variables are available in a
block by setting the block to 'scoped' by adding the
scoped modifier to a block declaration.
Merge pull request #96 from prakashpp/develop

Currency variable missing from scope #5298