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


on getCurrentTemplateName (adrPageTable) {
	<<Return the name of the current template.
		<<If it's the default template -- the template defined in a #template object --
		<<return "Default" as the name.
		<<Monday, June 01, 1998 at 10:24:51 PM by PBS
	try {
		if adrPageTable^.indirectTemplate {
			return (adrPageTable^.template)}};
	return ("Default")}

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.