Author Topic: Control in console input?  (Read 9994 times)

jj2007

  • Member
  • *****
  • Posts: 13857
  • Assembly is fun ;-)
    • MasmBasic
Re: Control in console input?
« Reply #15 on: June 13, 2017, 07:40:19 AM »
"Exit program?(Y/N): " does not really do what the user expects ;-)

felipe

  • Member
  • *****
  • Posts: 1381
Re: Control in console input?
« Reply #16 on: June 13, 2017, 12:36:29 PM »
"Exit program?(Y/N): " does not really do what the user expects ;-)

Yes,yes, that's right, is just the end of the program, just a mark to distinguish the others parts: the loop back to the beginning, because of the input error, from the correct way.  :bgrin:
Thanks for trying it jj!  :t
Btw: Also it should say maximum not maximun, right?  :bgrin:

jj2007

  • Member
  • *****
  • Posts: 13857
  • Assembly is fun ;-)
    • MasmBasic
Re: Control in console input?
« Reply #17 on: June 13, 2017, 08:38:01 PM »
Right ;)

In the meantime, I have added the option to limit the input to n characters to the Input$() macro, see here. Thanks for inspiring me, this is a useful feature :t

felipe

  • Member
  • *****
  • Posts: 1381
Re: Control in console input?
« Reply #18 on: June 13, 2017, 11:45:48 PM »
Thanks jj!  :t