[REBOL] Re: set-if
From: anton::wilddsl::net::au at: 16-Apr-2007 10:30
I think it reacts well to unset! values, eg:>> set-if 'a** Script Error: set-if is missing its value argument ** Near: set-if 'a which is similar to how a set-word! reacts. An error! value can't be passed into the function unless it is disarmed, so that's also just like a set-word!:>> set-if 'a disarm try [1 / 0] >> set-if 'a try [1 / 0]** Math Error: Attempt to divide by zero ** Near: 1 / 0 Regards, Anton.