Saturday, April 02, 2011 at 9:21 PM.


on initPost (adrpost) {
		<<12/24/10; 11:24:01 AM by DW
	if not defined (adrpost^) {
		new (tabletype, adrpost)};
	bundle { //stats
		if not defined (adrpost^.stats) {
			new (tabletype, @adrpost^.stats)}};
	if not defined (adrpost^.stats.ctSaves) {
		adrpost^.stats.ctSaves = 0};
	if not defined (adrpost^.stats.ctErrors) {
		adrpost^.stats.ctErrors = 0};
	if not defined (adrpost^.stats.postID) {
		adrpost^.stats.postID = nil}}

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.