BUG if....then....end if

electronik54

Member
Licensed User
Longtime User
code below gives no error
B4X:
   If contactc="null" OR contactc="" Then
   contactc="*No Contact Number Available*"
   Call_btn3.Visible=False
   End If

but this cod does
B4X:
   If contactc="null" OR contactc=""Then
   contactc="*No Contact Number Available*"
   Call_btn3.Visible=False
   End If

Parsing code. Error
Error parsing program.
Error description: Missing Keyword: end sub
Occurred on line: 1114
End If

there is just no blank space between>> ""&Then
 

electronik54

Member
Licensed User
Longtime User
A token separator character is required after a string.
well i thought if B4A can make "then" Blue so it can also consider blank space, thats what made me think it was a bug(since i am new to programming:sign0161.
:sign0013:
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…