Sat Aug 26, 2023 6:51 pm
I've been a VB6 programmer for about 35 years. This isn't that language, but the structure and function of If, ElseIf, EndIf is pretty universal. I think your problem may be pretty simple.
Your first If block in MenuMode checks to see if Choosing = 1. If it does, it sets Choosing = 2 and Choice = -1. So far, so good.
But then you use ElseIf. The problem is that after the program executes the If block, it skips over the ElseIf to the EndIf.
Replace
ElseIf ( Choosing == 2 )
with the following:
EndIf
If (Choosing == 2)
Hope that helps.
Sun Aug 27, 2023 10:58 pm