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

system.verbs.apps.Eudora.visitMessages

on visitMessages (mailboxObj, callback) {
	with objectmodel, Eudora, eventInfo {
		local (msgCount, x);
		msgCount = countMessages(mailboxObj);
		loop(x=1;x<=msgCount;x=x+1) {
			local(msgObj);
			msgObj = mailboxObj.message[x];
			if not callback^ (msgObj) {
				return (false)}}};
	return (true)}



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.