Subj : Re: JS: Exec, Load or DIE
To : Mindless Automaton
From : Digital Man
Date : Wed Sep 14 2005 10:47 pm
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
Snapple "Real Fact" #25:
The only food that does not spoil is honey.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net