I cannot find an error
Here is a compiling error
---------
Compiling code. Error
Error parsing program.
Error description: Missing Keyword: end sub
Occurred on line: 192
End If
---------
Sub Check_Move As Boolean
If (Grid(prevSun+1, prevTox).Enabled=True) OR
(Grid(prevSun-1, prevTox).Enabled=True) OR
(Grid(prevSun, prevTox+1).Enabled=True) OR
(Grid(prevSun, prevTox-1).Enabled=True) Then
Return True
Else
Return False
End If
End Sub
Thanks
Here is a compiling error
---------
Compiling code. Error
Error parsing program.
Error description: Missing Keyword: end sub
Occurred on line: 192
End If
---------
Sub Check_Move As Boolean
If (Grid(prevSun+1, prevTox).Enabled=True) OR
(Grid(prevSun-1, prevTox).Enabled=True) OR
(Grid(prevSun, prevTox+1).Enabled=True) OR
(Grid(prevSun, prevTox-1).Enabled=True) Then
Return True
Else
Return False
End If
End Sub
Thanks