Copy a string: Difference between revisions

no edit summary
(About copying vs referencing)
No edit summary
Line 144:
var dst = src;
 
==[[Lisp]]==
[[Category:Lisp]]
(setf orig "Hello")
(setf copied (copy-seq orig))
 
test the copy:
(equalp orig copied)
t
(eq orig copied)
nil
==[[Perl]]==
[[Category:Perl]]
Anonymous user