INNER CODE UNIT · JavaScript
file
lh3/miniasm · misc/ov-sen.js:93
file = new File(arguments[getopt.ind+1]);
while (file.readline(buf) >= 0) {
var t = buf.toString().split("\t");
var key = t[0] + "\t" + t[5];
if (h[key] != null) ++h[key];
else {
key = t[5] + "\t" + t[0];
if (h[key] != null) ++h[key];
}
}
file.close();
buf.destroy();
var n_ovlp = 0, n_missed = 0;
for (var key in h) {
++n_ovlp;
if (h[key] == 0) ++n_missed;