Jump to content

Here document: Difference between revisions

→‎{{header|Wren}}: Oops, no hyphen.
(Added Wren)
(→‎{{header|Wren}}: Oops, no hyphen.)
Line 2,157:
 
=={{header|Wren}}==
Wren has neither here-docsheredocs nor raw strings.
 
Embedding escape characters in ordinary strings is not too bad in practice as the language doesn't use single quotes or back-ticks at all so these don't need to be escaped. A reasonable workaround is therefore to use a list of strings (one per line) and then join them together with the '\n' newline character.
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.