Peter, 
Try the following:

if error? try [page: read http://www.nonexisting-url.com] [
    print "Sorry, cannot find page"
]

Brgds /Micael

-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Skickat: den 15 oktober 1999 08:57
Till: [EMAIL PROTECTED]
�mne: [REBOL] Error handling


Hello!

When reading an URL it sometimes is not valid or I can
get a timeout which results in the script to abort.

How will I do an error handler for this purpose?

Best Regards,
Peter Carlsson

----------------------------------------------------------------
Peter Carlsson                    Tel: +46 31 735 45 26
Saab Ericsson Space AB            Fax: +46 31 735 40 00
S-405 15 G�teborg                 Email: [EMAIL PROTECTED]
SWEDEN                            URL: http://www.space.se
----------------------------------------------------------------

Reply via email to