RosettaCodeData/Task/Copy-a-string/Maple/copy-a-string.maple
Ingy döt Net b83f433714 tasks a-s
2013-04-10 23:57:08 -07:00

13 lines
378 B
Text

> s := "some string";
s := "some string"
> t := "some string";
t := "some string"
> evalb( s = t ); # they are equal
true
> addressof( s ) = addressof( t ); # not just equal data, but the same address in memory
3078334210 = 3078334210
> u := t: # copy reference