/stuff file browser, minor tweaks

This commit is contained in:
YourFriendlyNeighborhoodDealer 2019-08-14 09:05:28 +02:00
parent 8091c2d4e9
commit e9c2df8e9b
5 changed files with 81 additions and 11 deletions

View file

@ -218,6 +218,8 @@ function PrintDB(r, olds) {
maxLength = r.Subjects[i].Name.length;
}
let qcount = 0;
for (var i = 0; i < r.length; i++) {
let line = i;
if (line < 10)
@ -251,12 +253,15 @@ function PrintDB(r, olds) {
line += " ";
line += r.Subjects[i].length;
qcount += r.Subjects[i].length;
line += " db";
console.log(line);
}
console.log("Total questions: " + qcount);
PrintLN();
}