in reply to Re: problem referencing global variable in self-written modulein thread problem referencing global variable in self-written module