nested loops not working
Forum » Programming & Design / TI-Nspire Programming » nested loops not working
Started by: tgahantgahan
Date: 13 May 2021 15:33
Number of posts: 2
rss icon RSS: New posts
Summary:
When I run the code below, it works fine. (TI nspire CAS II calculator) However at the end of the program I give two options, "Enter" to repeat the program, "Esc" to quit. "Esc" works fine. However if I pick "Enter", the RequestStr box pops up again to receive the new input as intended. When I enter the input, the program displays "You entered nothing" and goes back to the RequestStr box again. I have to press "Cancel" on the RequestStr box to get out of the loop. "You entered nothing" is part of the error code I am using to intercept the case where the user may click OK without entering anything into the box. So basically the program works fine the first time I run it, it is when I choose to rerun it again is when the issue arises. Any help will be greatly appreciated. T Gahan
New Post