Wish Multiline commands

Daestrum

Expert
Licensed User
Longtime User
Is it feasible to allow the IDE to accept multiline command strings without needing the 'space' '_' at the end of the line.
ie,
Instead of
B4X:
   something.RunMethodJO("aaa",array(bbb)).RunMethodJO("xxx",array(yyy)).RunMethod .....

Allow the following as each line starts with a '.'
B4X:
   something.RunMethodJO("aaa",array(bbb))
         .RunMethodJO("bbb",array(ccc))
         .RunMethod("ddd",array(eee))
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Note that you can use the continuation character in this case:
B4X:
something.RunMethodJO(...) _
             .RunMethodJO(...) _
             .RunMethod(...)

I'm pretty sure that it will not be possible to remove the continuation character requirement without requiring a new end of statement character (like C semicolon). This means that it will not be backwards compatible.
 
Top