in reply to Re: where to declare a variable...
in thread where to declare a variable...

Hi Dylan, Thanks very much for explaining so clearly with that code of yours. I now understand 'my' and the meaning of scoping better. cheers, kiat