static volatile Android3 dbBot_instance; static Android3 dbBot() { ret dbBot(dbBotStandardName()); } static Android3 dbBot(S name) { if (hasBot(name)) { pcall { S framesBot = fsI(dropAfterSpace(name)) + " Frames"; if (isOK(sendOpt(framesBot, "activate frames")) && isMainProgram()) cleanKill(); } fail("Already running: " + name); } assertNotNull(mainConcepts); ret dbBot_instance = methodsBot2(name, mainConcepts, exposedDBMethods, mainConcepts.lock); }