Thursday, March 17, 2011 at 12:01 AM.


on init (adrdata=nil) {
		<<3/16/11; 10:53:15 AM by DW
	if adrdata == nil {
		adrdata = @config.staticText};
	if not defined (adrdata^) {
		new (tabletype, adrdata)};
	bundle { //prefs
		if not defined (adrdata^.prefs) {
			new (tabletype, @adrdata^.prefs)};
		if not defined (adrdata^.prefs.enabled) {
			adrdata^.prefs.enabled = false}};
	bundle { //locations
		if not defined (adrdata^.locations) {
			new (tabletype, @adrdata^.locations)}};
	bundle { //stats
		if not defined (adrdata^.stats) {
			new (tabletype, @adrdata^.stats)}};
	return (adrdata)};
bundle { //test code
	init ()}

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.