-
Rob Swindell authored
The Baja PRINT function (used in yesnobar.src/noyesbar.src) calls putmsg() with P_SAVEATR|P_NOABORT. Without P_NOABORT, putmsg() doesn't display anything if the global console abort (SS_ABORT) flag is set. So hitting 'N' or Ctrl-C at one yes/no or no/yes prompt would mean any immediately subsequent yes/no or no/yes prompt would not be displayed. Now that we have to require('sbbsdefs.js') for the P_NOABORT definition, this'll run a little slower. :-( Enable/conform to "use strict" mode.
Rob Swindell authoredThe Baja PRINT function (used in yesnobar.src/noyesbar.src) calls putmsg() with P_SAVEATR|P_NOABORT. Without P_NOABORT, putmsg() doesn't display anything if the global console abort (SS_ABORT) flag is set. So hitting 'N' or Ctrl-C at one yes/no or no/yes prompt would mean any immediately subsequent yes/no or no/yes prompt would not be displayed. Now that we have to require('sbbsdefs.js') for the P_NOABORT definition, this'll run a little slower. :-( Enable/conform to "use strict" mode.
yesnobar.js 1.21 KiB