script.removeSource
| Syntax |
script.removeSource (addr)
|
| Params |
addr is the Object Database address of a script object.
|
| Action |
Compiles the script if necessary and stores a copy of the compiled code in place of its source code.
|
| Returns |
True
|
| Examples |
script.removeSource (@examples.counter) » true
|
| Notes |
The code value created by this verb can be called in exactly the same way as the original script. Compiled code values produced by removing the source code from an object, can only be called by Frontier. To create a compiled code value compatible with the Open Scripting Architecture (OSA), use osa.compile.
|
| See Also |
script.compile
|