7. Functions

Functions are a way to reuse scripts. They can take parameters that allow one function to do many things, depending on the input. Functions can simply run preprogrammed lines, but they can also return a value.

7.1. The Function

7.2. Function Syntax