Here document: Difference between revisions
Content added Content deleted
(Added Easylang) |
Langurmonkey (talk | contribs) |
||
Line 1,217: | Line 1,217: | ||
=={{header|langur}}== |
=={{header|langur}}== |
||
Use a block modifier on a string literal using the |
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 = |
<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. |