Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.rpi.testing.compare
on compare (s, counter) {
if counter == 1 {
new ( tableType, @scratchpad.rpcTest )};
if tcp.im.rpi.testing.tests[counter] != s {
new ( tableType, @scratchpad.rpiTest[string(counter)] );
scratchpad.rpiTest[string(counter)].received = s;
scratchpad.rpiTest[string(counter)].desired = tcp.im.rpi.testing.tests[counter]};
if counter == sizeOf ( tcp.im.rpi.testing.tests ) {
if sizeOf ( scratchpad.rpiTest ) == 0 {
dialog.alert("Test series completed. No anomalies.")}
else {
dialog.alert("Test series completed. " + string(sizeOf(scratchpad.rpiTest)) + " anomalies." )}}}
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.