>>>INKEY() doesn't return a logical value! How does it EVER work? >> >> >>The routine itself won't but if SET ESCAPE is ON, then the escape key might exit the loop. > >How? Ther's nothing built-in in FoxPro that can exit a loop on the escape key.
Sergey,
Your right as always. It doesn't exit the loop, it just suspends it and allows you to cancel the routine.