E electronik54 Member Licensed User Longtime User Apr 5, 2013 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Apr 5, 2013 #2 A token separator character is required after a string.
thedesolatesoul Expert Licensed User Longtime User Apr 5, 2013 #3 electronik54 said: there is just no blank space between>> ""&Then Click to expand... As a programmer its your job to write the code correctly.
electronik54 said: there is just no blank space between>> ""&Then Click to expand... As a programmer its your job to write the code correctly.
E electronik54 Member Licensed User Longtime User Apr 5, 2013 #4 Erel said: A token separator character is required after a string. Click to expand... 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:
Erel said: A token separator character is required after a string. Click to expand... 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: