Copy a string: Difference between revisions

Content added Content deleted
(→‎Pascal: fix non-standard example containing multiple mistakes)
imported>Tromp
(add string copy for BLC)
Line 636: Line 636:
?(^same$+5) = ?(^source$+5)
?(^same$+5) = ?(^source$+5)
PRINT same$</syntaxhighlight>
PRINT same$</syntaxhighlight>

=={{header|Binary Lambda Calculus}}==

In BLC, every value is immutable, including byte-strings. So one never needs to copy them; references are shared.


=={{header|BQN}}==
=={{header|BQN}}==