View Single Post
Old May 19th, 2006, 2:21 PM   #64
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
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.
Arevos is offline   Reply With Quote