Keyboard input/Obtain a Y or N response: Difference between revisions

m
→‎{{header|NS-HUBASIC}}: NS-HUBASIC example added
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.)
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}}==
441

edits