in reply to Re: Making a variable in a sub retain its value between callsin thread Making a variable in a sub retain its value between calls