String append: Difference between revisions
m
→{{header|Quackery}}: better quotation
(Added Quackery.) |
m (→{{header|Quackery}}: better quotation) |
||
Line 1,311:
=={{header|Quackery}}==
Quackery has no variables. The nearest equivalent is ''ancillary stacks''. The word <code>join</code> will return the concatenation of two nests on the stack, and hence two strings, as strings are a particular usage of nests. Here we define the word <code>append</code> to join a nest on the stack to a nest on the ancillary stack <code>temp</code>, and then demonstrate its use with a Jules Renard quotation.
<lang Quackery> [ tuck take swap join swap put ] is append ( [ s --> )
$ "
$ "dans
temp take echo$ </lang>
{{out}}
<pre>L'homme qui attend de voir un canard roti voler dans sa bouche doit attendre tres, tres longtemps.</pre>
=={{header|Racket}}==
|