General Syntax Rules > Line Continuation
Posted: Fri Mar 28, 2025 2:01 pm
Hello Community,
at the moment it is possible to split long expressions across several lines via the following operators: plus (+), comma (,), or (|), And, Or, Xor.
This is possible:
I suggest to allow the round brackets also as operators for a line break to enable the following:
This improves the readability of the source code and is based on existing standards.
Thanks and best regards
Stefan
at the moment it is possible to split long expressions across several lines via the following operators: plus (+), comma (,), or (|), And, Or, Xor.
This is possible:
Code: Select all
MessageRequester("Hello this is a very long title",
"And a very long message, so we can use the multiline" + #LF$ + Text$,
#PB_MessageRequester_Ok)
I suggest to allow the round brackets also as operators for a line break to enable the following:
Code: Select all
MessageRequester(
"Hello this is a very long title",
"And a very long message, so we can use the multiline" + #LF$ + Text$,
#PB_MessageRequester_Ok
)
Thanks and best regards
Stefan