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

[REBOL] Patches and Enhancements

From: al::bri::xtra::co::nz at: 1-Oct-2000 18:55

I've written up some Patches and Enhancements to Rebol, and have posted them to the 'net here: http://members.nbci.com/AndrewMartin/Rebol/ Just copy the directories and files to your own machine, and put these lines: do %/c/Rebol/Patch/Patches.r do %/c/Rebol/Enhancement/Enhancements.r in your %user.r file, to have these Patches and Enhancements added to your Rebol. Both Patches and Enhancements can be inspected inside Rebol like this:
>> probe Patches
make object! [ Directory: %/c/Rebol/Patch/Patches/ Files: [%Script.r %append.r %http user agent.r %Source.r] ]
>> probe Enhancements
make object! [ Directory: %/c/Rebol/Enhancement/Enhancements/ Files: [%Dir.r %Cls.r] ] To add a new Patch or Enhancement, simply copy an existing one, change the name, delete the old code and add new code, then save as a new file into the Patches or Enhancements directory. Note that it's important the Rebol Header file name matches exactly the file name, and the Rebol Header name matches exactly a new field called either Patch or Enhancement. When Rebol is restarted, the new Patch or Enhancement is automatically included. If you've got any favoured patches you like to see included in Rebol, send them to me either through the list or directly and I'll update my site to reflect that. Comments, additions, alterations, suggestions, etc are all welcomed. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/ http://members.xoom.com/AndrewMartin/