use 'try, as follows...

foreach url-to-read url-database [
    if error? try [dump: read http://www.foobarfoo.com/][next url-database]
]

>If I attempt to read from a web page that does not exist, ie:
>
>    dump: read http://www.foobarfoo.com/
>
>Rebol stops execution of the code and reports:
>
>    ** Access Error: Cannot connect to www.foobarfoo.com
>    ** Where: open-proto
>    ** Near: read http://www.foobarfoo.com
>
>How do I catch this error and continue execution?

Ryan C. Christiansen
Web Developer

Intellisol International
4733 Amber Valley Parkway
Fargo, ND 58104
701-235-3390 ext. 6671
FAX: 701-235-9940
http://www.intellisol.com

Global Leader in People Performance Software

_____________________________________

Confidentiality Notice
This message may contain privileged and confidential information. If you
think, for any reason, that this message may have been addressed to you in
error, you must not disseminate, copy or take any action in reliance on it,
and we would ask you to notify us immediately by return email to
[EMAIL PROTECTED]

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

Reply via email to