Subj : directory() results affected by console.yesno()..?
To   : Digital Man
From : Nightfox
Date : Thu Mar 28 2024 03:25 pm

 Re: directory() results affected by console.yesno()..?
 By: Digital Man to Nightfox on Thu Mar 28 2024 02:27 pm

DM> You're using 'i' as the loop variable for both loops. That's not going to
DM> work (one of the problems with JS the 'var' keyword and rationale for the
DM> new 'let' keyword). Create/use a different variable name for the
DM> inner-loop.

gah..  I've done that before.  Just wasn't paying attention to my loop variable names.

DM> The directory() method is implemented as js_directory() in js_global.c, so
DM> if you wanted to make experimental changes (e.g. add debug output or
DM> whatever), that's where you'd do that.

Thanks.  I may try that.

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com