Welcome to the Builder Academy

Question Class Menu Help

More
30 Sep 2021 05:54 #9942 by h3dg3hug
Class Menu Help was created by h3dg3hug
I'm trying to add help files to the class selection menu, using the code found here:  drive.google.com/drive/folders/0B40XbRH2...4C3QUNEZeOe2odDWOpfA

It's almost working, but no matter what I do, the STATE wants to stay in CON_QCLASS_HELP, and never allow me to actually pick a class.
Here's my code, can you see what I'm missing?

Attachment 2021-09-3000_41_13-Window.png not found

Please Log in or Create an account to join the conversation.

More
18 Oct 2021 20:35 #9959 by cunning
Replied by cunning on topic Class Menu Help
IF that is your code, you clearly have a mistake. Your case CON_QCLASS does not have a break statement so it falls right into the next case and it hits STATE(d) = CON_QCLASS_HELP

your case needs to define the next STATE(d) and then break before you hit the next case statement.

Please Log in or Create an account to join the conversation.

Time to create page: 0.238 seconds