in reply to Re: Wrong content of variable passed to subin thread Wrong content of variable passed to sub