wrong something

Started by ron on 18-Jan-2014/22:51:55-8:00
load-gui why do I get an error ever time I try and load this.
Saphirion has had some problems with their web server recently, and the load-gui function currently loads the r3-gui.r3 file from their web server. I prefer to download r3-gui.r3 to the current directory, and do it from the local file. This is more reliable, and faster because you don't need to download the file every time your code runs: do %r3-gui.r3 If you're not sure how to do all that, you can use this code: if not exists? %r3-gui.r3 [write %r3-gui.r3 read http://re-bol.com/r3-gui.r3] load-gui: does [do %r3-gui.r3] load-gui The official location for r3-gui.r3 is currently http://development.saphirion.com/resources/r3-gui.r3 (I used the copy at the re-bol.com URL above, just because Saphirion's servers have had issues lately).
BTW, you could put the first lines above in rebol.r. Any code in that file runs automatically every time Rebol starts.
R2 includes VID, lots of pop-up requestors, and all its network protocols, built-in. For R3, I include r3-gui.r3, the code for some pop-up requestors, and some of Graham's network protocols (especially FTP) in my rebol.r file. That way, R3 operates more immediately like R2, without having to include any extra code in user scripts.
thx...this will work nicely...immediately works.

Reply