Bug? (solved - my fault) minor bug with comments in wrapped lines

nikolaus

Member
Licensed User
Longtime User
B4X:
        If     editURL.Text.Contains ("://www.google.") _ '# OR    editURL.Text.Contains ("://google.") _
OR    editURL.Text.Contains("https://duckduckgo.com") Then

works as expected.

However

B4X:
        If     editURL.Text.Contains ("://www.google.") _ 
'# OR    editURL.Text.Contains ("://google.") _
OR    editURL.Text.Contains("https://duckduckgo.com") Then

produces 'missing end sub' error
 
Top