Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Treating Errors

From: agem:crosswinds at: 26-Jun-2001 2:00

RE: [REBOL] Re: Treating Errors Hi Bo! nive to /view you :) [amicom--sonic--net] wrote:
> Rondon, > > Try: > > errors: 0 > while [errors <= 5 error? try [page: read http://www.somesite.com]][ > print ["Error #" errors: errors + 1 "reading site"] > ] > > The above will try 5 times to read the site. >
errors: 0 while [ALL[errors <= 5 error? try [page: read http://www.somesite.com]]][ print ["Error #" errors: errors + 1 "reading site"] ] or has 'while hidden feature? -Volker