Ok I have a CASE statement in my program and I want to add to conditions onto the end of each selection but for some reason it wont let me.
Here's my code just now
VB Code:
Select Case ButtonCounter Case 1 Call Question1 Case 2 Call Question2 Case 3 Call Question3 .... etc End select
I would LIKE it to look like this
VB Code:
Select Case ButtonCounter Case 1 Call Question1 [B]And icorrect = 2[/B] Case 2 Call Question2 [B]And icorrect = 3[/B] Case 3 Call Question3 [B]And icorrect = 1[/B] .... etc End select
For some reason it doesn't like this though and says that there is an "expected end of statement".
Can someone help me to get this to work?
Thanks.




Reply With Quote