walter harms wrote: >How do you know that p[esc] exists ? >(the other code had an else) esc is reset to 0 at the start of each iteration. So it can only be 0 or 1. p[0] obviously exists and p[1] is either the character after that or the terminating null. Ron