Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Great ESC?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00209813
Message ID:
00211840
Views:
32
Ed,

This should work
lIsRun = .T.
DO WHILE lIsRun
   IF INKEY() = 27
      <strong>EXIT</strong>
   ENDIF
   SCAN
       IF INKEY() = 27
           lIsRun = .F.
           <strong>EXIT</strong>
       ENDIF
...    my main code is here
   ENDSCAN
ENDDO
Previous
Reply
Map
View

Click here to load this message in the networking platform