Is this a question or a statement? Obviously, your code does not work. Unfortunately, Greg's pointer won't work reliably either. I've explained this in other posts. Please search for them and/or provide more explanation in your questions.