On Mar 25, 2007, at 1:20 PM, Raul Miller wrote:

Thus, if the executable could figure out what its own file name
was, it could, in principle inspect its file for something at the
end which details some file offset and length, which would be
a script it would should execute at startup.

This is almost exactly how Revolution handles it. The engine knows its own length, looks for material beyond that point, and executes it. I say almost because I didn't write the code so there might be something more to it, but as far as I understand it, that's all there is to it.

That said, external scripts can also be used, so it's entirely possible to build your own executable that looks in a pre-determined location (usually a web site) for the latest version, downloads it if necessary, and then executes it.

BTW -- someone asked about my requirements. I don't have a set of requirements -- I'm just trying to learn about J.

regards,

Geoff
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to