Hi,
I am creating an application that displays a toast message when the two words kick and door are entered into an edittext. I've been trying to work it out but am new to basic4android so help would be great.
So far this is my line of code that gets stuck...
Sub Globals
Dim txtRoom As EditText
Dim Kick, Door As String
Dim Contains As Boolean
End Sub
Sub wake_Click
If txtRoom.Text.Contains (Kick) And (Door) Then
ToastMessageShow("I kicked the door open", True)
Else
ToastMessageShow("I don't think that will work...", True)
End If
End Sub
There's more to it but I don't think that it is neccessary because it works...
Thanks if you have a solution!