Here is a useful routine that you may wish to
include in your own programs. No explanation is given as it is
intended for users who are already familiar with Basic and who can
include these segments as subroutines in their own programs. The
routine is called YNKEY and will scan the keyboard for 'Y' or 'N'
key presses. All other keys are disabled.
I hope that you find this routine useful to
enhance your own programs.