AS1 OOP: Object Scope
         by senocular  

Scope in Functions
All in all scope referencing can be fairly straightforward. It gets a little complicated with functions though. Remember, like everything else, functions are objects. They can have variables defined inside of them etc. Functions, however, are special in that they perform function calls allowing you to run a block of code with one simple command. With each call, functions provide a plethora of scoping possibilities. A function call can access the function object itself, the object used to call the function and has access to a local scope unique to that specific function call.

 

Prev Page
 



SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple.