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

system.verbs.builtins.html.fileWriters.file.startup

on startup (adrObject, adrStorage) {
	<<The startup script is called when a rendering session is starting up.
		<<A rendering session is usually one of two things:
			<<1) A single page is being rendered.
				<<In this case this script is called before that page has been rendered.
			<<2) An entire table is being rendered.
				<<In this case this script is called after before any of the pages in the table have been rendered.
			<<Other types of rendering sessions may exist in the future,
				<<but the pattern will remain the same.
		<<adrObject is the address of the object being rendered.
			<<It might be a page or it might be a table.
		<<adrStorage is the address of private storage for this file writer for this session.
	<<This particular script doesn't do anything at startup.
	return (true)}



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.