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

[REBOL] R: Re: Pointers, Context in Rebol 3.0 (For the real RebolLovers)

From: gchillemi::aliceposta::it at: 27-Mar-2007 20:59

> f1: :A does not create a pointer to 'A, if pointers are how you want to > think of it. It gets what 'A is pointing at, then points at the same > thing. Setting a new value for 'A makes it point at something else - > modifying it as above without making it point at something else will > modify an others that are also pointing at it. > > The only downside is that the function arguments don't seem to be > changeable:
I have understood my error. I thought that f1: :a1 was meaning "let use a1 as pointer constantly" and not "point to the content of a1 and then do not use a1 anymore". For the rest of you message I admit I have marked it "for further study". I am still a beginner in Rebol and you I need time to comprehend it. Giuseppe Chillemi