Literals/String: Difference between revisions

Content added Content deleted
m (→‎{{header|IDL}}: removed <nowiki> tags inside of <lang> block)
Line 438: Line 438:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 3.2 :
ELENA 4.x :
<lang elena>
<lang elena>
var c := $65. // character
var c := $65; // character
var s := "some text". // UTF-8 literal
var s := "some text"; // UTF-8 literal
var w := "some wide text"w. // UTF-16 literal
var w := "some wide text"w; // UTF-16 literal
var s2 := "text with ""quotes"" and "$13$10"two lines".
var s2 := "text with ""quotes"" and
two lines";
</lang>
</lang>