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

system.verbs.builtins.io.client.follow

on follow () {
	<<Changes
		<<9/15/10; 12:44:50 PM by DW
			<<Re-releasing the part released yesterday. Apparently some people missed the update? Just being sure.
		<<9/14/10; 8:54:23 AM by DW
			<<The remote call for following no longer returns an update table.
		<<9/3/10; 8:37:52 AM by DW
			<<Created. 
	if dialog.ask ("Name of user to follow?", @config.io.client.prefs.lastFollow) {
		local (name = config.io.client.prefs.lastFollow, update);
		local (adrdata = io.init (), now = clock.now ());
		local (username = adrdata^.client.prefs.username);
		local (password = string (adrdata^.client.prefs.password));
		local (server = string (adrdata^.client.prefs.server));
		update = [server].io.follow (username, password, name)}};
		<<io.client.updateUser (@update)
bundle { //test code
	follow ()}



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.