
-----------------------------------
ilikeweatherguy
Thu Dec 22, 2011 3:42 pm

help with my dice game! D8 pls
-----------------------------------
hi, im wrking on this dice game and i was just wondering what is wrong with my if statements ,my teacher checked but couldnt find anything and it doesnt work when money equals wager any help would be greatly appreciated thankyou for reading this






Dim L, R, rls, money, wager, total As Single

Private Sub cmdroll_Click()

If wager > money Then  'checks is wager is less than money
  lblcantuse.Visible = True
  ElseIf money > 0 And wager  money Then 'checks is wager is less than money

No, that will check if the wager is more than money.:wink:  I don't have time to read through the rest of your code right now, but that's a start.
