[REBOL] Re: [Function] with [Variable number of args]
From: antonr:lexicon at: 7-Apr-2004 1:08
Of course, one has to be careful that the result of the
expression following this "magical" function does not
get eaten up by mistake. In this case, you should wrap
in parens. Example (imagine in a script):
; now let's do some real work
; lots of comments...
The value of my-var will not be passed as the second
argument of f, because we remembered the parens.
Aren't we lucky?
Because of problems like these, I decided to avoid
using optional arguments in general. I use it in
one or two command-line functions, but these I never
use in scripts.
I think if you want to play the language game,
go the parse way.