Hey folks, made a couple programs but would like to merge them together with a menu.

1. prgm title
2. prgm title
etc etc..

How would I link the titles to the codes (If possible without having all the programs seperate on the calculator.)

Thanks,
Del
I think you might want to elaborate a bit, I'm not quite sure what you're wanting, here.
If I'm understanding this right, to get one single program, then one thing you could do is use SourceCoder 3 to copy one entire program to the other one, so you should have one single file. Then, you need to search the file and make sure that none of the variables and labels colliding from separate codes. After that, you need to add the menu at the beginning of the program, with the labels going to the separate parts of the code.
I think he's asking about essentially packing multiple programs (as lines of code, of course) into one program variable. I'd go about it this way:
Code:
::DCS
:"ICON
:Lbl AZ
:Menu("CHOOSE PRGM","SOMETHING",theta1,"ANOTHER",theta2,"THE THIRD",theta3,"QUIT",Q
:Lbl Q:ClrHome
:Disp "PROGRAMS BY DEL
:Return
:Lbl theta1
:....code of first program
:Goto AZ
:Lbl theta2
:....code of second program
:Goto AZ
:Lbl theta3
:....code of third program
:Goto AZ
Hope this is what you're looking for. Just be aware that your "subprograms" can't have duplicate label names.
  
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