1. A Simple function with no parameters or return value:
1 2 3 4 5 6 7 8 9 10
2. A Function that takes an argument tha is passed in by value:
XoaX.net
3. A function with an argument that is passed in by reference:
Before = 5
After = 6
4. A function with default arguments (these must be set on the last parameters):
No Default = XoaX
With Default = XoaX.net
5. A function that takes an array argument:
Father, Son, Holy Spirit
6. A function with variable arguments (automatically turned into an array):
Peter Paul James John
7. A function with a return value:
Sum of 3 + 4 = 7
Sum of 6 + 9 with array = 15