AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_CompileFile (Function)
Summary:     Compiles a script stored in an external file.
Syntax:
JSScript * JS_CompileFile(JSContext *cx, JSObject *obj,
const char *filename);

     Argument     Type     Description
     cx     JSContext *     Pointer to a JS context from which to derive runtime information.
                 
     obj     JSObject *     Object with which the script is associated.
                 
     filename     const char *     Name of file or URL containing the script to compile.
                 
Description:
JS_CompileFile compiles the text of script in an external file location for execution by the JS engine.


See also:
JS_CompileScript
JS_DecompileScript
JS_DestroyScript
JS_EvaluateScript
JS_ExecuteScript

[sh-index] Back to list of manuals