Results 1 to 28 of 28

Thread: Why doesn't this loop work?{|/([Resolved])\|}

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member shizzy's Avatar
    Join Date
    May 2005
    Location
    Michigan
    Posts
    278

    Resolved Why doesn't this loop work?{|/([Resolved])\|}

    This is my loop can anyone tell me why it doesn't work??

    VB Code:
    1. Do Until intDie12 = intDie34
    2.            
    3.                 intDie3 = Rand(1, 6)
    4.                 intDie4 = Rand(1, 6)
    5.            
    6.                 Dice3(intDie3 - 1).Visible = True
    7.                 Dice4(intDie4 - 1).Visible = True
    8.                
    9.                 intDie12 = intDie1 + intDie2
    10.                 intDie34 = intDie3 + intDie4
    11.            
    12.                 If intDie12 = intDie34 Then
    13.                
    14.                     lblWinner.Visible = True
    15.                
    16.                     lblAmount.Caption = "Player's Total Money: $" & intAmount
    17.                
    18.                 End If
    19.        
    20.             Loop
    Last edited by shizzy; May 11th, 2005 at 05:39 PM.
    In rare occasion, if I help you, give me some rate points. They help me sleep at night
    WMRR Rockin' the Lakeshore! For all your guitar music needs! For all your guitar purchasing needs!
    AC/DC Rocks! Van Halen! Led Zeppelin!

    my webpage

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width