Menu Trouble
#1
Posted 19 January 2011 - 04:48 PM
I'm a real newb when it comes to programming... So my question is (probably) really newbie to you .
I just discovered the ''menu'' function and I was just trying it out when I ran into a problem...
The code:
Menu ''Choose a dice'',''6-sided'',1,''Exit'',2[the exe arrow]
Lbl 1[the exe arrow]
Intg (6Ran# +1)[the exe arrow]
Lbl 2[the exe arrow]
''Done''
When I run the code, the menu pops up, only when I select the ''6-sided'' label in the menu, it doesn't stop after giving the the random number, but heads straight on to saying "Done''.
How do I solve this? As I said before, this is just a test to see how this function works so I can use it properly in bigger programs, so if there is a different code for more menu-options I would like to have that too, please.
Now all that remains for me is to wait and hope for someone to reply .
Oh, by the way, I have an fx-9860GII (with no SD).
Not sure if it matters, but just making sure .
#2 Guest_Guest_*
Posted 19 January 2011 - 06:56 PM
By the way, wrong forum.
#3 Guest_Guest_*
Posted 19 January 2011 - 06:57 PM
#4
Posted 19 January 2011 - 07:31 PM
I actually found a better way to do this and decided to post it since it might help other people .
Menu ''Choose a dice'',''6-sided'',1,''Exit'',2 ->
Lbl 1 ->
Intg (6Ran# +1) ->
Stop ->
Lbl 2 ->
''Done'' ->
Stop ->
Now you don't get the - Disp - message anymore .
Edited by Nogoodnamesleft, 20 January 2011 - 05:48 PM.
#5
Posted 15 April 2011 - 09:30 PM
Do
Getkey G
LpWhile G=0
This will not display that annoying -Disp- mark.
Come on CASIO!!! How does having that -Disp- mark help, anyway?
Suggestion for UCF admin: triangle smily?
Edited by mfischer, 15 April 2011 - 09:32 PM.
#6
Posted 15 April 2011 - 09:35 PM
Yeah .A nice alternative to the ?triangle? is:
Do
Getkey G
LpWhile G=0
This will not display that annoying -Disp- mark.
Come on CASIO!!! How does having that -Disp- mark help, anyway?
Suggestion for UCF admin: triangle smily?
I hate that thing .
True , that thing is total bullshit .
triangle smiley? Why?
#7 Guest_Guest9000_*
Posted 18 April 2011 - 09:40 PM
ClrText
"SIDES"?→C
Frac C !=0 =>Goto 0
C=0 =>Goto 0
Lbl1
ClrText
"ROLLS"?→D
Frac D!=0=>Goto 1
D=0=>Goto 1
0→B
ClrList
Seq(X,X,1,D,1)→List 1
While B != D
B+1→B
1→E
While E=1
Ran#→E
WhileEnd
Intg (EC+1)→ List 1[B]
WhileEnd
List 1
This is on a fx-7450g it works well. I need to get multiple dice working but with only 6 lists it kinda sucks.
#8
Posted 19 April 2011 - 03:21 PM
We have a newline smily , and an arrow smily , so why not a small triangle smily?triangle smiley? Why?
Edited by mfischer, 19 April 2011 - 03:22 PM.
#9
Posted 22 April 2011 - 05:21 PM
We have a newline smily , and an arrow smily , so why not a small triangle smily?
Ah, I see. You're right... Why isn't there one?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users