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

[REBOL] Re: DOing a script from REBOL.org

From: anton::wilddsl::net::au at: 1-Nov-2006 21:28

Sunanda,
> The Library now emits the HTML with a newline before the script header. > > This means that many scripts are DO-able from their Library webpage.
Very good.
> ** Sadly, texture-lab.r is an exception: it checks its own REBOL > header. That > means it is assuming it is running as a Do %name. So it fails as it can't > find header/version. > Sunanda.
It is possible to simulate DOing a file as long as you have previously loaded its header. This this new script I've been working on just a few days ago: http://anton.wildit.net.au/rebol/library/simulate-do.r it needs http://anton.wildit.net.au/rebol/library/translate-line-terminators.r As you can see, it looks like there isn't too much to do to simulate DOing a file. Regards, Anton.