The below case statement isn't working. Anyone know why?
B4X:
Dim vBonus As String
Select vBonus
Case PD = "Points" And TmSc > PvSc + 50 And TmSc < PvSc + 80
Msgbox("20 Point bonus","Bonus")
Case PD = "Points" And TmSc > PvSc + 70 And TmSc < PvSc + 100
Msgbox("40 Point bonus","Bonus")
Case PD = "Points" And TmSc > PvSc + 90 And TmSc < PvSc + 120
Msgbox("60 Point bonus","Bonus")
Case PD = "Points" And TmSc > PvSc + 110 And TmSc < PvSc + 140
Msgbox("80 Point bonus","Bonus")
Case PD = "Drinks" And TmSc > PvSc + 5 And TmSc < 8
Msgbox("2 Point Bonus","Bonus")
Case PD = "Drinks" And TmSc > PvSc + 7 And TmSc < 10
Msgbox("4 Point Bonus","Bonus")
Case PD = "Drinks" And TmSc > PvSc + 9 And TmSc < 12
Msgbox("6 Point Bonus","Bonus")
Case PD = "Drinks" And TmSc > PvSc + 11 And TmSc < 14
Msgbox("8 Point Bonus","Bonus")
End Select