Subj : Re: recursion errors To : Rastus From : Rastus Date : Mon Dec 30 2013 03:36 pm Rastus wrote: >> You shouldn't be getting a recursion error if your JavaScript code is >> only >> two levels deep. I've only ever seen that error in JavaScript when I was >> calling a recursive function that had (probably) called itself hundreds >> or perhaps thousands of times. > > With this in mind..(any without any holiday cheer in my glass).. I > revisited The Synchronet JavaScript Object Model Reference and found that > I've been calling the menu scripts incorrectly: > > Had been calling the Javascript menus using a command such as this: > > bbs.exec("?Space_Menu.js"); > > But if I found if I call them using 'Load' I'm not seeing errors and the > programs work properly. ie: > > load("Space_Menu.js"); > > I can then use bbs.exec to call any JavaScript door programs ie: > > bbs.exec("?/sbbs/xtrn/dicewarz/dice.js"); This is just an example.. I would create a xtrn program using scfg for such thing... I forgot to mention that.. > Or should I using some other syntax? > > Thanks, > > Nick -- --- þ Synchronet þ Electronic Warfare BBS | telnet://ewbbs.synchro.net .