English 中文(简体)
TI-84 Multiple Menu Program
原标题:

So when you make a menu using the Menu() function, It goes:

Title
Option 1
Option 2
Option 3
Etc...

But almost every menu already on the calculator has multiple titles that you can choose from, then each with their own options. How would you program that in?

End product being:

Main Secondary Tertiary
1. Option 1
2. Option 2
3. Option 3
Etc...

Also, how could I make it so it has more than seven items? Thanks.

最佳回答

That is written in TI assembly, which is completely different from TI BASIC. Maybe one of the new TI programming languages such as Axe might be able to do it. Im not sure since I didnt have the new programming languages when I programmed for calculators

问题回答

I realize this question is several years old but my solution for this fully in TI-BASIC is to have something set up like this (example is from my dice roller program built for D&D)

Lbl 00
ClrHome
Menu("How many sides?","Coin",2,"Four",4,"Six",6,"Eight",8,"Ten",10,"Page 2",P
    //Page 2 directs to another menu at label P
Lbl P
Menu("How many sides?","Twelve",12,"Twenty",20,"Custom",C,"One hundred (Percentile)",99, Page 1",00,"Quit",XX

You ll see how page 2 is just another menu option that goes to a label like all the others. But it acts like another page or a sub-menu. It does this by going to a label that has another Menu( command that looks like the first.

To give you another example from the same program let s look at the d20 roller. First you ll notice in the previous code it directs to label 20.

Lbl 20
Menu("Advantage or disadvantage?","Neither",21,"Advantage",22,"Double advantage",23,"Triple advantage",24,"Disadvantage",02,"Back to top",00,"Quit",XX

Back to top goes to the top menu at label 00





相关问题
Delphi 2010 Action Manager & Main Menu Bar

I m trying to use the Action Manager and Action Main Menu Bar in Delphi 2010 an I have no idea how to make this work. I ve tried looking at the examples that come with Delphi 2010 and I can t seem to ...

asp.net (c#) menu/menuItem event/event-handling

Is it possible to use asp.net standard Menu (server-control) for tasks other than navigation? For example: I want to use asp.net menu to add a button control to the asp.net panel (server-control). ...

jQuery javascript menu?

Does anyone know how you create a menu with this rollover effect. Is it using jQuery? I want to create something similar using WordPress as my CMS. Would be great if there is a WordPress plugin? http:/...

jquery conditional logic for currentpage

I m using jQuery for a vertical site navigation menu, all links within site. I have the basic functionality working, but am at a loss as to the correct if-else to accomplish the following: As the ...

Links within and outside List elements not working

I m trying to create a unordered list, with each li element having it s own background image (no text, just image), but I m having trouble (in Firefox at least, it works in Safari) getting the link to ...

Horizontal menu with overflow-x:auto

Is it possible to have a horizontal menu that can scroll overflowed menuitems horizontally, but also display the vertical overflow when a submenu is to appear?

Bash Case menu - dynamic choices

I m not sure what the policy is here on asking followup questions. So please excuse me if i m breaking protocol. Earlier I was constructing a menu in bash ( Here ) And so far I ve got it working ...

热门标签