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

on userFollows (user1, user2, adrupdate) {
		<<9/1/10; 6:07:26 PM by DW
			<<Designed to be called-back from realtime.server.userFollows to determine if one user follows another.
	try {
		if adrupdate^.type == "instantOutline" { //it's one of ours
			local (adruser = io.server.initUser (user1));
			return (defined (adruser^.follows.[user2]))}};
	return (false)};
bundle { //test code
	local (t);
	new (tabletype, @t);
	t.type = "instantOutline";
	dialog.alert (userfollows ("davewinxer", "marcbarrot", @t))}

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.