----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 23, 2000 2:43 AM
Subject: [REBOL] Optional Arguments Working? Re:(5)
> You must perform your test in a script file and
> 'do it to see the bug. The bug does not occur
> in a console session.
>
> Rodney
>
It is not a bug, see Andrew's explanation from the bottom of the message.
The safer way to have optional arguments is to use refinements.
Cheers,
Allen K
> Note that Rebol evaluates the arguements to a function before calling the
> function. In this case:
> f f f f f f halt
> the 'halt is evaluated just before evaluating the last (or first in
> reverse order) 'f function. 'halt has the side effect of stopping
execution
> of Rebol, so the last 'f is not evaluated.
>
> I hope that helps!
>
> Andrew Martin