Hi Ladislav

Your are right as I expected.

error? try [get/any :word] :== true
error? try [error? get/any :word];== false

Facts are facts ! I'll have to spend some time to digest this.

"Lentement mais surement". BTW your french is pretty good. With minor
correction it goes like this "Personne n'est tomb� du ciel savant." (where
"savant" qualifies  "personne" not "ciel").

I think the same idea is expressed by "Personne ne sort savant du ventre de
sa m�re."

Encore merci pour cette lumineuse r�ponse.

Patrick

----- Original Message -----
From: "Ladislav Mecir" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 23, 2001 10:04 AM
Subject: [REBOL] Re: why 2 error?


> The difference is as follows:
>
>     disarm err: make error! {an error}
>     undefined? 'err ; == false
>     word: 'err
>     error? try [get/any :word] ; == true
>
> Personne savant n'est tombe de ciel, comme on dit chez nous. (could you
> correct my translation?)
>
> Cheers
>     Ladislav
>
> ----- Original Message -----
> From: "Patrick Philipot" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 22, 2001 10:30 PM
> Subject: [REBOL] why 2 error?
>
>
> Hi,
>
> Reading Ladislav "Words, Aliases, Contexts, Visualizations, Bindings and
> Scope in Rebol.html" I found the following function.
>
>     undefined?: func [
>         {determines, if a word is undefined}
>         word [any-word!]
>     ] [
>         error? try [error? get/any :word]
>     ]
>
> I can't figure out why there is two error? in the last line.
> It seems to me (and I have experimented on the console) that  >> error?
try
> [get/any :word] << will do the job as well. I'm afraid I am missing
> something because I have seen in many rebol-list posts that Ladislav is
> dedicated to produce clean and concise code.
>
> So what's wrong with my shorter (and presumptuous) version ?
>
> Mais c'est en forgeant, qu'on devient forgeron, comme on dit chez nous.
>
> Patrick
>
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to