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

system.verbs.builtins.mainResponder.news.getMessageTable

on getMessageTable (rootname, msgnum) {
	<<Get the address of a message table.
		<<Changes:
			<<10/15/99; 10:17:25 AM by PBS
				<<Support for addresses, and strings that can be coerced to addresses, in discuss.root was added.
	local (adrroot = @[system.temp.mainResponder.discussRootFile].[rootname]);
	if typeOf (adrroot^) == addressType or typeOf (adrroot^) == stringType { //PBS 10/15/99: support for addresses and strings in discuss.root
		if defined (adrroot^^) {
			adrroot = adrroot^}}; //de-reference to get the address of the discussion group
	local (adrmsg = @adrroot^.messages.[string.padwithzeros (msgnum, 7)]);
	return (adrmsg)}



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.