Hi Mauro:
> Sh*t... should have a better look at TFM! 574 pages and I still can't
> understand the basis of the language!! 8(
>
> I'm finding Rebol more challeging than any ASM I've tried... here usual
> programming logic seems to be messed up...
>
> I'll try later with my head shakered
Friday, January 9, 2004, 3:18:05 AM, Anton wrote:
> Yes, as Andreas shows, there problem is when the try block returns
> an unset! value. eg:
Thanks, Anton, for making something useful out of my being
unconcentrated :)
As a sidenote, anybody ever compiled a list of all native!'s that
return un
* M&F <[EMAIL PROTECTED]> [040108 16:50]:
>
> On Thu, 8 Jan 2004 12:19:19 EST, <[EMAIL PROTECTED]> wrote:
>
>
> >> I have a question about the " Script Error: xxx has no value" problem.
> >>
> >> I have seen that there's no way to trap such an error, which is not a
> >> syntax one.
> >>
> >>
Yes, as Andreas shows, there problem is when the
try block returns an unset! value. eg:
>> if error? err: try [print "hi"][]
hi
** Script Error: err needs a value
** Near: if error? err: try [print "hi"]
Why did that happen?
try does the code block, and returns the last value, or
an armed error!
On Thu, 8 Jan 2004 12:19:19 EST, <[EMAIL PROTECTED]> wrote:
>> I have a question about the " Script Error: xxx has no value" problem.
>>
>> I have seen that there's no way to trap such an error, which is not a
>> syntax one.
>>
>> 'value? does not work, nor does 'error?.
>
> Maybe I misunders
* M&F <[EMAIL PROTECTED]> [040108 08:26]:
>
>
> Hi all,
> I have menaged to read all the over 400 messages from this list sent
> during last month... :P
>
> I have a question about the " Script Error: xxx has no value" problem.
>
> I have seen that there's no way to trap such an error, which
Thursday, January 8, 2004, 6:03:04 PM, M&F wrote:
> I have a question about the " Script Error: xxx has no value"
> problem.
> I have seen that there's no way to trap such an error, which is not
> a syntax one.
if error? try [ an-unset-value ] [ ... ]
--
Best regards,
Andreas
--
To unsubs
Mauro:
> I have a question about the " Script Error: xxx has no value" problem.
>
> I have seen that there's no way to trap such an error, which is not a
> syntax one.
>
> 'value? does not work, nor does 'error?.
Maybe I misunderstand your question. But I can, and regularly do, capture