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

m
→‎version 1: removed the last blank line. -- ~~~~
No edit summary
m (→‎version 1: removed the last blank line. -- ~~~~)
Line 514:
if pos(ans,'NY')\==0 then leave /*if ans is OK, leave.*/
end
/*as this point, ANS holds a Y or N. */</lang>
 
</lang>
===version 2===
This version of a REXX program works with PC/REXX.