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

[REBOL] Re: do file - redefining quit - how to get to my rebsite

From: arolls:bigpond:au at: 13-Aug-2001 3:04

How to get to my rebsite: 1) Open rebol/view at the desktop. If you start in the console, type "desktop". 2) Click on "Rebol.com" at the left. 3) Click on "Sites" 4) Click on "Anton" You should now be at my rebsite. I would like to abbreviate all this to: desktop/rebol.com/sites/anton. On catching errors in called scripts;- You can encase the code in a try block like this: if error? err: try [do %somecode.r][probe disarm err] It gets complicated though. %somecode.r may blow away your editor window as you said. You need to unview your window, then execute the code, then view your editor window again afterwards. I've had a go at doing this kind of thing in rebol.com/sites/anton/animations/VR 4 . In the last few clumps of code at the bottom of this program there is a way to catch errors in VID code, and survive, showing an error window on top of the frozen program window.