in reply to Modifying Global Variable

There's a few problems with your code:

-- Dan