17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GW-BASIC <strong>User's</strong> Guide<br />

1070 TIMEOUT%=1: RETURN<br />

When this program is executed, and if the RETURN key is pressed before 1000 loops are<br />

completed, then "GOOD SHOW" is printed on the screen. Otherwise, "TOO LONG" is printed.<br />

Since an INKEY$ statement scans the keyboard only once, place INKEY$ statements within loops<br />

to provide adequate response times for the operator.<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/INKEYS.html (2 of 2)28/03/2004 21.29.30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!