In reply to Re^9: 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