contents   index   previous   next



SCOPING - GLOBAL CODE

 

Global code is code outside of any function. Scoping for global code is simple, the global object is searched for variables only. Modifying the scoping of global code is done in the seEval call used to invoke that code using the ssetScopeStart and setScopeEnd methods of the SEEvalParams class as described above. The script user can then modify the scoping by using the with statement.


SCOPING - FUNCTIONS