Quote:
|
Originally Posted by zem52887
so that piece of code will work in isolation?
|
Exactly! That's what a function is (or should be). That's why functions are so powerful, because they're not tied down to a single program.
Think of functions like tools. A chainsaw can be used for many purposes, many times over. A bottle-opener is more specific, but it too can be used in many locations.