SElib.bound()
syntax: |
SElib.bound() |
return: |
boolean - true if the currently running script is bound using the /bind command line option, else false.
|
description: |
ScriptEase scripts may be compiled to standalone executable, exe, files using the bind command line option. Sometimes it is important to know if a script is being interpreted or being run as a standalone executable. Binding a script is a step more than compiling a script to be interpreted by a ScriptEase interpreter. (See SElib.compileScript())
|
see: |
SElib.compileScript(), SElib.version(), Using Library Files
|
example: |
if (SElib.bound()) { Screen.writeln('Running a bound script'); // Do this } else { Screen.writeln('Running an unbound script'); // Do that } |