Saturday, April 09, 2011 at 1:07 AM.

river2Suite.utilities.findUserWithStaticOn

on findUserWithStaticOn () {
	<<Changes
		<<4/8/11; 4:33:41 PM by DW
			<<Utility script. Instead of manually looking through the users table, this script searches and when it finds a user with its static build enabled, opens the table and quits.
	local (adrdata = river2suite.init (), adruser);
	for adruser in @adrdata^.users {
		if adruser^.prefs.static.enabled {
			edit (adruser);
			break}}};
bundle { //test code
	findUserWithStaticOn ()}



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.