script.compile

Syntax script.compile (addr)

Params addr is the Object Database address of a script object you wish to compile.

Action Compiles the script at addr.

Returns True if a script is found at addr and it compiles successfully, false if the object at addr is not a script object.

Examples script.compile (@examples.counter)

   » true

Notes If the compiler encounters an error while compiling the script, it displays an appropriate error message and terminates script execution.

This verb's action is identical to clicking on the "Compile" button in a script window.

Discuss