Anonymous user
Literals/String: Difference between revisions
Added Dyalect programming language
(→{{header|OCaml}}: verbatim strings) |
(Added Dyalect programming language) |
||
Line 403:
const s2 := 'first line'#13#10'second line'; // CR+LF in the middle
</lang>
=={{header|Dyalect}}==
Strings is Dyalect are double quote delimited (and characters are single quote delimited). Both support escape codes:
<lang Dyalect>var c = '\u0020' //a character
var str = "A string\non several lines!\sAnd you can incorporate expressions: \(c)!"</lang>
Multiline strings are not currently supported.
=={{header|E}}==
|