H (Hybrid) Language - Version 0.02, by Dr. Herong Yang
String Literals Continuing on Next Lines
This section describes string literals continuing on the next lines.
An escape sequence is needed to allow us continue a single string literal on the next line of the source code:
If \ is followed by +, ("\+"), all white spaces characters, including line breaks, that follows this escape sequence are ignored.
Examples of "string" literals with escape sequences for Unicode characters:
write("Hello \+ world!"); write( " The old lady pulled her spectacles down and looked over them \+ about the room; then she put them up and looked out under them. \+ She seldom or never looked through them for so small a thing as \+ a boy; they were her state pair, the pride of her heart, and \+ were built for “style,” not service—she could have seen through \+ a pair of stove-lids just as well. She looked perplexed for a \+ moment, and then said, not fiercely, but still loud enough for \+ the furniture to hear: “Well, I lay if I get hold of you I’ll—”" );
Last update: 2017.
Table of Contents