What is the difference between writing a function and writing a script?
A D V E R T I S E M E N T
They should mention some of these things: 1. A function goes into a "compiled module", a script does not. 2. A function follows strict "c" syntax. For instance, you have to declare all variables created and used in the function. In a script you do not.