Here document: Difference between revisions

Content added Content deleted
(Added Easylang)
 
Line 1,217: Line 1,217:


=={{header|langur}}==
=={{header|langur}}==
Use a block modifier on a string literal using the q or Q form to generate a blockquote. The block modifier must be the last modifier.
Use a block modifier on a string literal using the qs or QS form to generate a blockquote. The block modifier must be the last modifier.


<syntaxhighlight lang="langur">val .s = q:block END
<syntaxhighlight lang="langur">val .s = qs:block END
We put our text here.
Here we are, Doc.
END</syntaxhighlight>

Use the lead modifier to strip leading white space on each line.

<syntaxhighlight lang="langur">val .s = qs:lead:block END
We put our text here.
We put our text here.
Here we are, Doc.
Here we are, Doc.