I need some help making a "between" character. Im making an application wich will do one thing when you press the right side of the form and another thing when you press the left side.
Heres what I tried:
(THE COORDINATES ARE NOT CORRECT IN THIS EXAMPLE)
And it doesen't work. Well, you see my problem. I need:
If x = between 0 to 80 Then...
Please help
Heres what I tried:
(THE COORDINATES ARE NOT CORRECT IN THIS EXAMPLE)
B4X:
Sub Form1_MouseDown (x,y)
If x = 0 <> 80 Then
msgbox ("Left side")
Else if x = 80 <> 150 then
msgbox ("Right side")
End If
End Sub
And it doesen't work. Well, you see my problem. I need:
If x = between 0 to 80 Then...
Please help