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

jj2007

  • Member
  • *****
  • Posts: 7552
  • Assembler 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: 282
  • I love assembly language programming.
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:
Felipe.

jj2007

  • Member
  • *****
  • Posts: 7552
  • Assembler 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: 282
  • I love assembly language programming.
Re: Control in console input?
« Reply #18 on: June 13, 2017, 11:45:48 PM »
Thanks jj!  :t
Felipe.