In reply to Re: Making a variable in a sub retain its value between calls by ikegami in thread Making a variable in a sub retain its value between calls by crashtest