Monday, November 08, 2010 at 12:03 AM.
system.verbs.builtins.Frontier.tools.updateItem
<<Menu formula for the Update Tool.root... menu item.
<<10/01/00; 12:44:21 AM by PBS
local (adr = window.frontMost ());
local (dbPath, dbName);
local (command = "(Update...");
if defined (adr^) {
adrGdb = table.getRootAddress (adr);
if adrGdb != @root { //is it in a gdb?
dbPath = window.getFile (adrGdb);
dbName = file.fileFromPath (dbPath);
command = "Update " + dbName + "..."}};
return (command)
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.