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

[REBOL] Links ? Pointers ?

From: gchillemi::aliceposta::it at: 23-Aug-2009 12:00

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"] I am thinking about introducing a new notation for indirect links. Look at this: A: [1 2 3] B: C: ::A ;(please notice the double colon) B and C now would have a link to whatever A is pointing to. If we change A A: ["something" 1 2 3] Then PROBE B and PROBE C should return ["something" 1 2 3] It would be usefull for objects. When you create a new object you should be able to link values/functions/lists to the previous object or copy them. What about this ? Giuseppe Chillemi