RosettaCodeData/Task/Copy-a-string/Maple/copy-a-string.maple

14 lines
378 B
Plaintext

> 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