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

scripting2Suite.editor.getPrefs

on getPrefs () {
	<<Changes
		<<7/2/10; 12:03:57 PM by DW
			<<Created. 
	local (adrdata = scripting2suite.init (), startticks = clock.ticks ());
	local (username = adrdata^.editor.prefs.username);
	local (password = string (adrdata^.editor.prefs.password));
	local (server = string (adrdata^.editor.prefs.server));
	adrdata^.editor.serverPrefs = [server].scripting2.getPrefs (username, password)};
	<<dialog.alert (clock.ticks () - startticks) //debugging
	<<edit (@adrdata^.editor.serverPrefs) //debugging
bundle { //test code
	getPrefs ()}



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.