=20 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tim Johnson Sent: April 27, 2009 9:46 PM To: [email protected] Subject: [REBOL] Re: setting values to blocks - need help
On Monday 27 April 2009, Carlos Lorenz wrote: =20 > How come blk/2 and blk/3 were set to same value of blk/1 ??? Under the hood: they are the same 'pointer' - i.e. referencing the same address in memory try 'array/initial - returns multiple memory references >> blk: array/initial 3 [] =3D=3D [[] [] []] >> append blk/1 "1" =3D=3D ["1"] >> blk =3D=3D [["1"] [] []] ;; HTH ;; tim -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
