Quote:


But is easier to do testing with everything in one function..




Nope, it is not. The more functionality a function contains, the more can go wrong. Use functions for very specific tasks and compartmentalize your scripts into simple building blocks. The UDF Library already provides over 400 functions. Also, think about the functionality of a script before writing it in order to keep it simple.
_________________________
There are two types of vessels, submarines and targets.