Simplest question of all time

wheretheidivides

Active Member
Licensed User
Longtime User
How do you split code onto 2 different lines? Is there a special character you need at the end of a line? Now that was easy.
 

mangojack

Expert
Licensed User
Longtime User
B4X:
"This is a very long line of code  FROM sqlite_master" _
& " WHERE Type = 'table' AND name ='contacts'") = 0 Then   

[end code]

Worked for me
Cheers mj
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
An Underscore at the end of the line and Ampersand at start of second line.
also watch you spacing . obviously KeyWords cant be split.

Cheers mj
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Erel .. Its been a long time since I needed to use this

I get a syntax error with all attempts not containing ampersand ???

Cheers mj
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Thanks Erel for the clarification ..

Cheers mj
 
Upvote 0

wheretheidivides

Active Member
Licensed User
Longtime User
Thanks for you alls quick response. I learned javascript and it's the same but the code is different. I knew it was something simple.
 
Upvote 0
Top