Subj : Door Scores...
To   : Android8675
From : echicken
Date : Wed Apr 11 2018 11:03 pm

 Re: Door Scores...
 By: Android8675 to echicken on Wed Apr 11 2018 15:40:10

An> Weirdness: ReferenceError: ScoreFiles is not defined (ZORKI)

An> [ScoreFiles]
An> ZORKI = ../xtrn/if/DATA/zork1-scores.asc
An> ZORKII = ../xtrn/if/DATA/zork2-scores.asc

An> console.writeln("Weirdness: " + e + "(" + prog_list[i].code + ")");

An> var ini = f.iniGetObject(ScoreFiles);

You should be providing a string as an argument:

var ini = f.iniGetObject('ScoreFiles');

Instead you're referencing a variable (ScoreFiles, sans quotes) which has not
been defined.

You could also 'fix' this error by adding this line above the f.iniGetObject
one:

var ScoreFiles = 'ScoreFiles';

(That's a dumb solution, but I just added it to illustrate the problem.  Now
you would have a variable named ScoreFiles defined, and assigned to it would be
the string 'ScoreFiles', which would be a valid argument to f.iniGetObject.)

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com