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

system.verbs.builtins.html.data.standardMacros.linkNext

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