Function
Definition: A function is a group of statements that have been collected together and given a name. This group of statements can then be run from several different places within the program by calling it by name. You can pass parameters to a function telling it what to process and the function can return a value. When a function does not return a value it is often referred to as a sub-routine.
Examples: x = myFunction(y);
Examples: x = myFunction(y);
Source...