Keyboard input/Obtain a Y or N response: Difference between revisions
Keyboard input/Obtain a Y or N response (view source)
Revision as of 22:50, 9 January 2019
, 5 years ago→{{header|GWBASIC}}
Line 112:
==={{header|GWBASIC}}===
<lang gwbasic>10
20 WHILE T$<>"y" AND T$<>"Y" AND T$<>"n" AND T$<>"N"
30 T$=""
Line 122:
90 PRINT "The response was "; T$
</lang>
==={{header|Locomotive Basic}}===
|