Monday, April 04, 2011 at 1:08 AM.
radio2Suite.menuCommands.newUser
on newUser () {
<<Changes
<<3/15/11; 11:34:53 AM by DW
<<Factored the functional bits into radio2Suite.newUser.
<<3/13/11; 1:00:40 PM by DW
<<Open the user's table at the end.
<<3/9/11; 1:56:50 AM by DW
<<Publish the user's feed so the initial display has all the elements it's supposed to. Working on the first-time user experience.
<<3/7/11; 3:18:48 PM by DW
<<Prompt for password, store it in members.root.
<<2/15/11; 12:44:19 PM by DW
<<Created.
local (adrdata = radio2suite.init ());
if dialog.ask ("Username:", @adrdata^.prefs.lastNewUserName) {
if dialog.ask ("Password:", @password) {
adruser = radio2Suite.newUser (adrdata^.prefs.lastNewUserName, password);
edit (adruser)}}};
bundle { //test code
newUser ()}
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.