Monday, November 08, 2010 at 12:00 AM.
scripting2Suite.utilities.testRealtime
<<Changes
<<7/13/10; 8:39:42 AM by DW
<<Created.
local (adrdata = scripting2suite.init (), username, password, server);
username = adrdata^.editor.prefs.username;
password = string (adrdata^.editor.prefs.password);
server = string (adrdata^.editor.prefs.server);
local (adrtable = @scratchpad.updates);
<<new (tabletype, adrtable)
loop {
try {
local (updates = [server].scripting2.getrealtimeupdates (username, password), adr);
for adr in @updates {
adrtable^.[nameof (adr^)] = adr^};
scratchpad.ctrealtimeloops++}}
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.