- Menu and Submenu (not nested) issue
- 23 Aug 2018 07:14:33 pm
- Last edited by daemyein on 23 Aug 2018 10:12:07 pm; edited 2 times in total
Hopefully this question will be extremely easy to answer and will make me look like an idiot in asking it.
I'm attempted to utilize a code from the internet (whooshing noises inserted here) to use menus in a similar way to ones already on the calculator (i.e. the PGRM menu and its 3 sub-menus at the top); and that's all fine and great, but I'm having difficulty understanding how to add content to each "page" (so to speak-- I don't know what the technical jargon is for it).
Here is the code that I am going off of:
Code:
EDIT: code credit to Mr Dino @ http://tibasicdev.wikidot.com
Link to the code
EDIT #2:
i don't like using the normal menus and need to be a special snowflake, ok
im just trying to make a really intense calculus program so I don't have to do anything myself ever again
I'm attempted to utilize a code from the internet (whooshing noises inserted here) to use menus in a similar way to ones already on the calculator (i.e. the PGRM menu and its 3 sub-menus at the top); and that's all fine and great, but I'm having difficulty understanding how to add content to each "page" (so to speak-- I don't know what the technical jargon is for it).
Here is the code that I am going off of:
Code:
3->A
"[MAIN] OPT1 OPT2"->Str1
"MAIN [OPT1] OPT2"->Str2
"MAIN OPT1 [OPT2]"->Str3
1->B
While 1
If B=1:Str1
If B=2:Str2
If B=3:Str3
ClrHome
Output(1,1,Ans
length(Ans)/16
If fPart(Ans
1+iPart(Ans
Ans->D
2->X
Repeat C=24 or C=26
Output(X,2,">
Repeat Ans
getKey->C
End
If Ans=21
Then
X-1->X
Return
End
Output(X,2," "
X-(Ans=25)+(Ans=34->X
2(X>D)+D(X<=1)+X(X<=D and X>1->X
max(1,min(A,B+(C=26)-(C=24->B
End
End
EDIT: code credit to Mr Dino @ http://tibasicdev.wikidot.com
Link to the code
EDIT #2:
i don't like using the normal menus and need to be a special snowflake, ok
im just trying to make a really intense calculus program so I don't have to do anything myself ever again