Hey! I am writing a Casio-Basic program but it will not work, what am I doing wrong?
My code:
Lbl 1
B=0
Isz B:
B◄
ClrText
Goto 1
If B=100
Then
ClrText
Menu "Upgrade 1","Small upgrade (+5)",D,
"Tiny Upgrade (+2),E,"I'm good, I'll wait.",F
Lbl D
"you clicked; Small upgrade"
Lbl E
"you clicked; Tiny Upgrade"
Lbl F
"you clicked; I'm good, I'll wait."
The statement about b=100 does not work and whenever B gets to 100 it just skips the If statement and goes straight to 101, please help.
My code:
Lbl 1
B=0
Isz B:
B◄
ClrText
Goto 1
If B=100
Then
ClrText
Menu "Upgrade 1","Small upgrade (+5)",D,
"Tiny Upgrade (+2),E,"I'm good, I'll wait.",F
Lbl D
"you clicked; Small upgrade"
Lbl E
"you clicked; Tiny Upgrade"
Lbl F
"you clicked; I'm good, I'll wait."
The statement about b=100 does not work and whenever B gets to 100 it just skips the If statement and goes straight to 101, please help.