Literals/String: Difference between revisions
Content added Content deleted
(Added Quackery.) |
|||
Line 2,087: | Line 2,087: | ||
A string literal is denoted by the word <code>$</code>. The string is delimited by the first non-whitespace character following <code>$</code>. |
A string literal is denoted by the word <code>$</code>. The string is delimited by the first non-whitespace character following <code>$</code>. |
||
Character and string literals illustrated in the Quackery shell (REPL) |
Character and string literals illustrated in the Quackery shell (REPL): |
||
<pre>O> char X emit |
<pre>O> char X emit |
||
... char Y emit |
... char Y emit |
||
Line 2,102: | Line 2,102: | ||
Any non-whitespace character can be the delimiter. |
Any non-whitespace character can be the delimiter. |
||
</pre> |
</pre> |
||
=={{header|R}}== |
=={{header|R}}== |