Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a filename
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00379476
Message ID:
00381554
Views:
17
I don't have a beard, but I'll stomp on you. *s*

I have sucessfully used Escape in this manner, and have been doing so for a very long time. It works just fine for allowing a user to exit a loop.

>Hi Nadya and Barbara.
>
>I think your using SET ESCAPE in the wrong context - this is actually designed for 'interupting' a program that is being run from within the VFP development environment. The on-line help states: "Determines whether pressing the ESC key interrupts program and command execution" in allmost all cases control is returned to the "Command Window".
>
>You should actually be using an INKEY() and testing to see if the return value is 127.
>
>Of course I may be completely wrong myself - in which case I can expect the bearded-ones to stomp on me very shortly :-)
>
>Houston.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform