static S newCase() { int id = 1; File f = null; while (fileExists(f = newFile(javaxDataDir(), formatSnippetID(programID()), str(id)))) ++id; f.mkdirs(); print("Using case: " + id); caseID(str(id)); ret str(id); }