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 
such errors:

>> xxx
** Script Error: xxx has no value
** Near: xxx

>> if error? capture-error: try [xxx] [print mold disarm capture-error]

make object! [
    code: 300
    type: 'script
    id: 'no-value
    arg1: 'xxx
    arg2: none
    arg3: none
    near: [xxx]
    where: none
]

Sunanda
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to