A runtime application:
ijs
scripts as well as encoded ijr
and locked ijl
scripts
A J runtime system uses the same executable as the development system, but with an /rt command line parameter. A runtime system may be freely distributed.
A runtime application starts by loading the script file given on the command line following the /rt parameter The application terminates normally if it is ready for events and there are no forms or if it executes 2!:55''
. Session manager output is ignored, but a request for session manager input is an error. If there is an error, the application displays a message box and then terminates.
Your application can have its own icon to use when its forms are minimized. The icon must be in the same directory as the script file given on the command line and must have the same name as the script, but with an ico
suffix. You can use that same icon as the Program Manager icon for starting the application.
Directory system\system\examples\demo
contains example files runtime.ijs
and runtime.ico.
Run that application with a command line:
c:\j401\j.exe /rt system\examples\demo\runtime.ijs
Add an icon for starting the application and select runtime.ico
as the icon.