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

[REBOL] Re: Please help me to promote REBOL

From: philb:upnaway at: 9-Nov-2003 13:35

Hi Anton, Bit slow on the uptake here .... If you do a set/any 'error try [print ""] How do you test for an error? any time I try to do anything with error I get an error :-) .... for example
>> print error
** Script Error: error has no value ** Near: print error Cheers Phil === Original Message === Good site. Bad colours - that's ok! I set my browser to overide your colours with my preferred colours. >:D In the errors handling document, I think you should set people to use set/any 'error try rather than error: try because in some cases the second one leads to another error. For a beginner that would be frustrating. eg:
>> error: try [print ""]
** Script Error: error needs a value ** Near: error: try [print ""] print returns an unset!, so there is nothing to set error to, and a new error is generated. Anton.