Literals/String: Difference between revisions

Content added Content deleted
Line 433: Line 433:


=={{header|Elena}}==
=={{header|Elena}}==
ELENA 3.2 :
<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". // 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 "$13$10"two lines".
</lang>
</lang>