Copy a string: Difference between revisions

m
Changed over to works with template
m (Changed over to works with template)
Line 34:
 
=={{header|BASIC}}==
'''Interpeter:'''{{works [[with|QuickBasic]] |4.5, PB 7.1}}
{{works with|PB|7.1}}
 
src$ = "Hello"
dst$ = src$
Line 252:
 
=={{header|Perl}}==
'''Interpeter:''' [[Perl]]
 
my $src = "Hello";
my $dst = $src;
Line 276 ⟶ 274:
=={{header|Python}}==
'''Interpeter:'''{{works with|Python |2.3, 2.4, and 2.5}}
 
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+}}
 
'''Language Version:''' 9.0+
 
'Immutable Strings
Dim a = "Test string"
Anonymous user