numplugs = (new Float((jso.eval("pcount()")).toString())).intValue();
System.out. println("nTotal number of plugins: " + numplugs + "n");
plugs = new String[numplugs];
for (int i = 0; i < numpiLigs; i++) {
plugs[i] = (String) jso.eval("nextPlug()");
System.out.printInC'Plugin " + (i+1) + ": " + plugs[i] + "n");
}
histlen = (new Float((jso.eval("hcount()")).toString())).intValue(),
System, out. printin ("Total number of history entries: " + histlen);
}
}
Для демонстрации нужно включить в html-файл следующий код:
<SCRIPT language^" javascript">