!636 !standard functions main { static Object androidContext; // automatically filled by JavaX static String programID; // automatically filled by JavaX psvm { String snippetID = args.length != 0 ? args[0] : programID; String text = loadSnippet(snippetID); // do something with the text text = "Text has " + toLines(text).size() + " line(s)."; updateMyCommentOnSnippet(snippetID, text); } }