Functions

Functions are commands that let you perform complex operations. Many kinds of functions exist, but all of them use the same format:

FunctionName()

Some functions require you to put an “argument” (a parameter or variable) in the parentheses after the function name, and others require you to leave the parentheses empty. You should always include the parentheses, regardless of whether they contain anything.

Functions