I have a project I am working on and I need to find a way to be able to go back to a certain menu, I am trying to make a back button but the only way I could get it to work is by just by doing prgm(Program Name).
Welcome to Cemetech, human! Sounds like you want the Goto and Lbl commands. Each takes the name of a label, which is one or two letter or number characters (e.g., A, H, 00, B0, AZ, or QQ). Any Goto (e.g., Goto QQ) will go to the corresponding Lbl in the program (e.g., Lbl QQ), even if it's earlier in the program. The following is an infinite loop:

Code:
Lbl R
Disp "HELLO
Goto R
Kerm explained that wonderfully! However I'd like to add that a great resource for learning BASIC is on TIBasicDev there's a segment on just labels and the menu( command here.
If we're self-promoting, I should probably mention my book "Programming the TI-83 Plus/TI-84 Plus", which I humbly feel is a great place to get started.
To manage a back menu it's easy to do it in your main loop
and managing as many variable as you have menu level.
Thank you so much! It is working just fine now.
You are welcome.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement