Never mind, the following. I didn't realize that there was a RETURN in front. If this post can be removed, please do so, thanks.
According to https://www.b4x.com/b4j/help/core.html#keywords_if
, a single line if, doesn't require an End If. But this returns an error, that an "end if" is missing.
If I put the End If at the end
, then it just returns a generic syntax error.
B4X:
Return If True Then Return "true" Else Return "false"
According to https://www.b4x.com/b4j/help/core.html#keywords_if
, a single line if, doesn't require an End If. But this returns an error, that an "end if" is missing.
If I put the End If at the end
B4X:
Return If True Then Return "true" Else Return "false" End If
, then it just returns a generic syntax error.