Jump to content

keydown delima


ryesyfan

Recommended Posts

'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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...