Keyboard input/Obtain a Y or N response: Difference between revisions
Keyboard input/Obtain a Y or N response (view source)
Revision as of 02:06, 12 July 2019
, 4 years ago→{{header|NS-HUBASIC}}: NS-HUBASIC example added
Childishbeat (talk | contribs) m (→{{header|BASIC}}: The examples under the BASIC header are now in alphabetical order, hopefully making it easier for more people to find the specific example they're looking for.) |
Childishbeat (talk | contribs) m (→{{header|NS-HUBASIC}}: NS-HUBASIC example added) |
||
Line 1,150:
otherwise Say 'Undecided'
End </lang>
=={{header|NS-HUBASIC}}==
<lang NS-HUBASIC>10 PRINT "PRESS Y OR N TO CONTINUE."
20 IF INKEY$<>"Y" AND INKEY$<>"N" THEN GOTO 20
30 PRINT "THE RESPONSE WAS ";INKEY$;"."</lang>
=={{header|Oforth}}==
|