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

[REBOL] Re: Binding a changed function within a context

From: gscottjones:mchsi at: 5-Oct-2002 8:52

Hi, Brett and Gabriele, From: "Brett Handley" ...
> my-context: context [ > local-var: 5 > my-func: does [ > print local-var > ] > ] > my-context/my-func: does bind [ > print ["new print" local-var] > ] in my-context 'self
.. and moments later .. From: "Gabriele Santilli"
> insert remove remove pick pick pick my-context 2 3 2 bind [print ["new
print" local-var]] in my-context 'self ..and ..
> my-context/my-func: does bind [print ["new print" local-var]] in
my-context 'self Wow, you have both made it look so simple, but I can honestly say given your solutions that I would have never figured this out, despite following the list and reading Ladislav's and Patrick's bind comments. I guess this demonstrates that a gap can still exist between reading concepts and applying concepts. Thanks! --Scott Jones