Open bi0qaw opened 4 years ago
It's good idea. I just don't like the python-likes syntax multiline string 😅
An alternative could be a section style syntax:
set [text] to multiline text:
Some
Multiline
String
But in this case it is not very easy to see that it is supposed to be a string.
Why not using "`" symbol like javascript or typescript insead of current string symbol?
Where would you put them?
set [text] to \
`
Some
Multiline
String
`
This looks a bit weird to me
set {_text} to `
Some
Multiline
String
`
and Skript could interpret this as "Add all lines from the first ` to the next ` and don't execute them"
Multiline strings should be supported.
Syntax should be something like this:
And when used in a line of code:
The
\
tells the parse that the code continues on the next line. Indentation should be supported as well: