Subj : Re: JS: Exec, Load or DIE
To   : Digital Man
From : Mindless Automaton
Date : Thu Sep 15 2005 10:18 am

Digital Man wrote:
>   Re: Re: JS: Exec, Load or DIE
>   By: Mindless Automaton to Tracker1 on Wed Sep 14 2005 07:08 pm
>
>  > Also how/when do you know to use a ? or * in something like
>  > bbs.exec("?xtrn.js"); and why isn't it used in load("xtrn.js");?
>
> bbs.exec() can be used to run all kinds of modules:
> * 16-bit DOS applications
> * 32-bit native applications
> * Baja modules
> * JavaScript modules
>
> '?' is used to indicate that the module being executed is a JavaScript module.
> '*' is used to indicate that the module being executed is a Baja (.bin) module.
>
> load() can only be used to execute other JavaScript modules, so no '?' is
> needed.
>
>                                                   digital man

Excellent.  Thanks for the clarification.

-Mindless Automaton
---
� Synchronet