Page 1 of 1

multiline strings?

Posted: Mon Dec 15, 2025 8:36 am
by Rinzwind
Finally please? With JSON, HTML, etc handling and the WebViewGadget it is a major concatenation hassle (and inefficient if the compiler doesn't treat it well).

Code: Select all

Define test.s = """
line 1
line 2
line 3
"""

or

Define test.s ="
line 1
line 2
line 3
"

or only supported for escaped versions

Define test.s = ˜"
line 1
line 2
line 3
"
And array initialization could also be streamlined as in plain old c...

Any reason not to add these? Concatenation is ugly and error prone.