in reply to Re: Subroutine variables problem
in thread Subroutine variables problem

I would be lying if I said that I had thought of that (or even that I understand the rationale behind that), but you are right. I did the tests you suggested and looked like there was a problem. After that I declared the variables global in the package (before the sub) and now it's working as expected (I Think :)
Thanks for your valuable help.
--
Michalis