Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Links ? Pointers ?

From: semseddinm:bircom at: 25-Aug-2009 9:23

> Hello, I whish to ask a question to REBOL professional developers: > > If we have: > > A: [1 2 3] > B: C: :A > > B and C would share the same list of A > > If we set A > > A: ["something"] > > B and C would point to the list [1 2 3] and A to ["something"]
This is because you created a new variable, not changed value(s) of A. If you use insert/replace/remove/clear and other series functions then A, B and C will point to the same variable.