• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. The Elements of Scripting > The MEGO test revisited

The MEGO test revisited

Now let's take another look at that techno-jargony paragraph cited at the beginning of this chapter. If it didn't make sense before, it should now (at least with a little paraphrasing to underscore the concepts in this chapter):

Handlers [the basic unit of scripts] can initiate an action [do stuff] or return a result [get info]. You can write handlers that take arguments [require additional info to work] or parameters [the holders for that additional info] and either perform some action based on the parameters [do stuff] or return a result based on a calculation or expression that uses the parameters [get info]. Handlers that return a result are sometimes called function handlers, or just functions.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint