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

system.verbs.builtins.html.shutdown

<<Sun, May 5, 1996 at 10:15:38 AM by DW
	<<Found major problem with macroprocessor UCMD
		<<osafrontier.c, which it uses to call back to Frontier, is designed for apps, not UCMDs.
		<<It assumes that its globals won't be preserved across runs. Frontier is a little too cool about this.
		<<Solution: add html.shutdown, which sends a message to the UCMD to reset its globals.
		<<Call it from system.shutdown.html (a new script).
local(theOS = sys.os());
if theOS == "MacOS" || theOS == "MacCn" {
	appleEvent (@html.ucmds.macroprocessor, '----', 'SHUT')}



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.