Android Question Continuation with array

barx

Well-Known Member
Licensed User
Longtime User
Can continuation work with arrays

B4X:
checkstxt = array as String("Some text 1", _
    "Some text 2", _
    "Some text 3", _
    "Some text 4", _
    "Some text 5")

I keep getting error.

Continuation character must follow a space.
 

klaus

Expert
Licensed User
Longtime User
The code you post works fine.
Are you sure you don't have something like this:
B4X:
checkstxt = array as String("Some text 1",_
    "Some text 2",_
    "Some text 3",_
    "Some text 4",_
    "Some text 5")
missing the space before the continuation charaacter ?
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
Indeed I had a missing space further day the list. My bad
 
Upvote 0
Top