contents   index   previous   next



SE_THIS

Whenever a function is called, it has a this variable associated with it. For instance, when you call a function such as:

 

foo.func();

 

foo is the this variable for the function call to func(). When you don't specify an explicit this variable, such as:

 

func();

 

The this variable is implicitly the global object. You can access the this variable for your wrapper function, which is always an object, and its members by using the SE_THIS stock object. If you use SE_THIS outside of a wrapper function, it is always the global object.

 

You cannot write to SE_THIS,SE_VALUE, it is read-only.

 


SE_SCOPE