ryesyfan Posted January 30, 2006 Share Posted January 30, 2006 've got a script that uses the Keydown() function to halt execution - I also use the GetLine() function and have found that once I've called GetLine() I no longer can trap a keyboard hit. Example: BEGIN WHILE NOT KeyDown(keyHit) DO BEGIN getLine(Px1, Py1, Px2, Py2); END; Execute additional code..... END; If the users hits a key execution is terminated from GetLine() and I can not execute the additional code as the entire script has termintated. Thanks for any guidance you can offer. Quote Link to comment
Alexandre Villares Posted January 30, 2006 Share Posted January 30, 2006 Maybe you could check for double-click (P1=P2) to terminate instead? regards, Alexandre Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.