## iaman's Profile User Rating:

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
13 (0.02 per day)
Joined:
30-March 12
Profile Views:
554
Last Active:
Apr 17 2012 09:59 AM
Currently:
Offline

### Previous Fields

Dream Kudos:
0
iaman has not set their status

1. #### In Topic: Procedure Problem

Posted 9 Apr 2012

Sorry for a double Post but since I cant Edit I have got this working
I just changed the location of the procedure to instead of under the button
Sorry for a waste of a thread
2. #### In Topic: Procedure Problem

Posted 9 Apr 2012

That was the first thing which I tried but couldn't get it working, I thought there might have been some easier way to stop a procedure
3. #### In Topic: Simple Scoring system for game

Posted 31 Mar 2012

maj3091, on 31 March 2012 - 01:52 AM, said:

You could shorten it a little using the code below (should work???):

```If img1 And img2 = 0 Then
' do something
ElseIf img1 And img2 And img3 = 1 Then
' Do something else
End If
```

ye that should shorten it slightly thanks
4. #### In Topic: Simple Scoring system for game

Posted 30 Mar 2012

DimitriV, on 30 March 2012 - 04:32 PM, said:

Sorry, I can't think of one at the moment
Sorry...

ok no problem the code works anyway so will do just was hoping it could be shorter
5. #### In Topic: Simple Scoring system for game

Posted 30 Mar 2012

DimitriV, on 30 March 2012 - 04:05 PM, said:

In that case, every time you click the button it redeclares a credits variable holding 10 credits!

I read your first post again I see what you meant now, its working now you win again
ive another question related to my point system if you can help, ill try explaining this first
ive got 3 picture boxes with the images being random, if 2 of these images end up the same my game will add 5 credits, if 3 of the images end up the same my game will add 10 credits.

ive done If Statements for this, but ive ended up with alot of code for this as there is alot of combinations that can be right

``` If img1 = 0 And img2 = 0 Then
intCredits = intCredits + 5
ElseIf img1 = 1 And img2 = 1 And img3 Then
intCredits = intCredits + 10
```

And so on...
What method would you use to do this? any way of having less code?

Member Title:
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

E-mail:
Private