Copy a string: Difference between revisions
PascalABC.NET
imported>Tromp (add string copy for BLC) |
(PascalABC.NET) |
||
Line 1,984:
writeStr(destination, source);
end.</syntaxhighlight>
=={{header|PascalABC.NET}}==
Strings in PascalABC.NET are references.
<syntaxhighlight lang="pascal" highlight="9,13,15">
begin
var s: string := 'Hello';
var s1 := s;
end.
</syntaxhighlight>
=={{header|Perl}}==
|