Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.rootUpdates.doCallback
on doCallback (adrpart, changenote, adrcallbackstable) {
<<Changes
<<9/17/10; 9:43:41 AM by DW
<<Call the callbacks in the indicated table. I wanted this in a separate code object so it would be easy to debug without taking a chance on breaking the rootupdates process. Have to be really careful about that. :-)
local (adrscript);
for adrscript in adrcallbackstable {
while typeof (adrscript^) == addresstype {
adrscript = adrscript^};
try {adrscript^ (adrpart, changenote)}}}
<<bundle //test code
<<doCallback (this, "Fixed a bug.", @user.rootUpdates.callbacks.afterInstallPart)
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.