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

[REBOL] Re: Multi-searches

From: greggirwin:mindspring at: 20-Feb-2002 11:55

Hi Philippe, << Can you explain me something ? Why (result) is a local variable and then without the RETURN word, you typed (result) at the end of the function ? What is the advantage of this ? >> REBOL functions automatically return the last thing they evaluate. It's kind of a REBOL idiom *not* to use RETURN in that case, though I still haven't gotten my brain to do that very often. I believe it's more efficient not to use RETURN, so there is a "clear" argument for it as well. --Gregg