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

[REBOL] Re: Async Question

From: SunandaDH::aol::com at: 15-Nov-2004 4:43

Charles:
> ** Script Error: attempt has no value
The REBOL development environment is a mess of overlapping and incomplete versions of the REBOL.exe. And it is not always clear when someone posts some code whether you need to download yet another REBOL.exe to get that code to work. I suspect you have the official REBOL/View download from http://www.rebol.com/download.html (The official REBOL/Core includes 'attempt, but the official REBOL/View does not) You could try a beta from.... http://www.rebol.net/builds/ ....provided there is an appropriate beta for your platform. .....but be careful not to overwrite your existing REBOL.exe as the newer beta may break some code in existing applications. Or you could define 'attempt as a function -- this is taken from a recent beta:
>> source attempt
attempt: func [ {Tries to evaluate and returns result or NONE on error.} value][ if not error? set/any 'value try :value [get/any 'value]] That gets you past the 'attempt, but you may fail later if the code you are executing requires other beta features. Good luck! Sunanda