Okay; let's not let things get out of hand.
@ titaniumnitratecoatedcow ...
What grim_reaper is saying is that you have to uncomment the line for it to have any effect. Of course, when you do you get a syntax error.
Because, as Texasclodhopper points out, you have to use an END IF in your code to get it to compile without a syntax error.
You probably want the code to be as follows -
An alternative would be -
@ titaniumnitratecoatedcow ...
What grim_reaper is saying is that you have to uncomment the line for it to have any effect. Of course, when you do you get a syntax error.
Because, as Texasclodhopper points out, you have to use an END IF in your code to get it to compile without a syntax error.
You probably want the code to be as follows -
Code:
If spacesleft < 4 Then
spacesLeft = spacesLeft + 1
End If
Code:
spacesLeft = spacesLeft + 1 Max 4