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

on linkPrev (linetext) { <<4.2 -- Mon, Dec 16, 1996 at 7:19:51 AM by DW
	<<generate a link to the "prev" page from this page using the nextPrev outline
	local (adrPageTable = html.getPageTableAddress ());
	local (adroutline = adrPageTable^.nextPrevs);
	local (oldtarget);
	local (adrprev);
	oldtarget = target.set (adroutline);
	op.firstSummit ();
	if op.findNext (adrPageTable^.adrObject, true) {
		if not op.go (flatup, 1) {
			op.go (flatdown, infinity)};
		adrprev = op.getLineText ()}
	else {
		return (linetext)};
	target.set (oldtarget);
	return (html.getLink (linetext, html.getPath (adrPageTable^.adrObject, adrprev, adrPageTable)))}

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.