in reply to problem with global variables going out of scope

I'm not sure how both showPUV's are supposed to interact. (Do you really want an our/local combination?) Have a look at Coping With Scoping.
  • Comment on Re: problem with global variables going out of scope