Monday, November 08, 2010 at 12:03 AM.

system.verbs.builtins.Frontier.tools.updateMe

on updateMe (adrInTool) {
	<<Changes
		<<7/25/08; 10:02:45 PM by DW
			<<Created. Call this script with the address of something in a tool (probably "this") and it takes care of updating the tool. The code doing the updating can be updated as well since it launches a thread then returns. 
	local (adrstring = string.popfilefromaddress (adrInTool));
	local (scriptstring = "Frontier.tools.commands.updateFrontTool (@" + adrstring + ", false)");
	loop {
		local (adrtempscript = @system.temp.["update" + random (1, 100000)]);
		if not defined (adrtempscript^) {
			script.newscriptobject (scriptstring, adrtempscript);
			thread.callscript (adrtempscript, {});
			break}}}
<<bundle //test code
	<<updateMe (@instantOutlineSuite.updateTool)



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.