Chapter 10. Procedures and Functions
In this chapter you will learn
A useful strategy for breaking up a large problem into smaller pieces called top-down design.
How MEL features for breaking up your scripts into small chunks of code can help implement the top-down strategy.
The differences between a procedure and a function.
How you define a procedure or a function.
How procedures and functions support a top-down approach.
What is a procedure’s scope and how you can use global procedures to make scripts available anywhere in your code.
About procedures and functions calling themselves, an approach called recursion.
When designing a script to solve a complicated problem, it’s rarely a good idea to try to write the entire script, beginning ...