Anonymous user
Keyboard input/Obtain a Y or N response: Difference between revisions
Keyboard input/Obtain a Y or N response (view source)
Revision as of 16:11, 29 August 2019
, 4 years ago→{{header|MiniScript}}
Childishbeat (talk | contribs) m (→{{header|NS-HUBASIC}}: NS-HUBASIC example added) |
|||
Line 1,137:
end while
print "You pressed: " + k</lang>
=={{header|MUMPS}}==
{{works with|Caché ObjectScript}}
Version from terminal shown below.
<lang MUMPS>for read !,"Enter Y or N to continue: ",input quit:input?1(1"Y",1"y",1"N",1"n")</lang>
{{out}}<pre>Enter Y or N to continue: J
Enter Y or N to continue: YES
Enter Y or N to continue: no
Enter Y or N to continue: N
SAMPLES> </pre>
=={{header|NetRexx}}==
|