Android Question Simple Question: How to carry over parameter to next line?

artemis

Member
Licensed User
Longtime User
Hi Guys,

I have a simple question, how can I carry over a parameter to the next line for easier reading?

B4X:
Dim newpattern(,) As Int = Create2DArray(3, Array As Int(1,1,1,
                                                       0,1,0,
                                                       0,1,0))
Is this possible in this IDE?

Thanks!
 

artemis

Member
Licensed User
Longtime User
Found the answer in Code Snippets. You have to put a comma and then space and underscore.

This works:
B4X:
Dim newpattern(,) As Int = Create2DArray(3, Array As Int(1,1,1, _
                                                             0,1,0, _
                                                             0,1,0))
 
Upvote 0
Top