September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,6 @@
object a, b
a = {1,{2,3},"four",{5.6,7,{8.9}}}
b = a
b[3] = 4
?a
?b

View file

@ -0,0 +1,15 @@
function deep_copy(object o)
object res
if atom(o) then
res = o
else
res = repeat(' ',length(o))
for i=1 to length(o) do
res[i] = deep_copy(o[i])
end for
end if
return res
end function
object c = deep_copy(b)
?c

View file

@ -0,0 +1,3 @@
include builtins\serialize.e
object d = deserialize(serialize(a))
?d