Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find a filename
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00379476
Message ID:
00381554
Vues:
18
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform