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

[REBOL] Re: variable scopes and recursive func

From: mokkel:gmx at: 10-Apr-2005 23:43

:-) Sorry, I maybe posted it too fast. I'm still searching for the the why. I think that's one of the bad parts of Rebol. This dynamic binding might be powerful, but it causes a lot of trouble as well. For instance besides your note, I don't get right now why it for instance without copy/deep brings up an error when it encounters an empty directory, und with copy/deep it runs. (at least without the error message) Nevertheless it works with copy deep if you add in the argument section a /local rez . I think you forgot to make rez local to the function as it is by standard global and gets everytime deleted. :-) Michael On Sun, 10 Apr 2005 23:13:14 +0300, <[sags--apollo--lv]> wrote: