PuzzleMedic
New Member
Hi all, just downloaded and started using Basic4android and upon compile got an error at my first loop. "Courses" is a list.
Loop reads:
For Each thisObject As String In Courses
If thisObject = className Then
found = True
Exit For
Else
found = False
End If
Next
And error code reads:
"Compiling code. Error
Error parsing program.
Error description: Missing Keyword: next
Occurred on line: 49
End If"
Line 49 is "End If" and line 50 is where I have "Next" written.
Pretty sure this is a bug unless there is something unique about searching a list in BasicForAndroid and/or something unique about using a For Each loop.
Thanks for the Help.
Loop reads:
For Each thisObject As String In Courses
If thisObject = className Then
found = True
Exit For
Else
found = False
End If
Next
And error code reads:
"Compiling code. Error
Error parsing program.
Error description: Missing Keyword: next
Occurred on line: 49
End If"
Line 49 is "End If" and line 50 is where I have "Next" written.
Pretty sure this is a bug unless there is something unique about searching a list in BasicForAndroid and/or something unique about using a For Each loop.
Thanks for the Help.