Anonymous user
Copy a string: Difference between revisions
m
Changed over to works with template
(→{{header|Ocaml}}: sp) |
m (Changed over to works with template) |
||
Line 34:
=={{header|BASIC}}==
{{works with|PB|7.1}}
src$ = "Hello"
dst$ = src$
Line 252:
=={{header|Perl}}==
my $src = "Hello";
my $dst = $src;
Line 276 ⟶ 274:
=={{header|Python}}==
Since strings are immutable, all copy operations return the same string. Probably the reference is increased.
Line 342 ⟶ 339:
=={{header|Visual Basic .NET}}==
'''Platform:''' [[.NET]]
{{works with|Visual Basic .NET|9.0+}}
'Immutable Strings
Dim a = "Test string"
|