Functions That Take Arguments But Have No Return Value
The formula for functions that do take
arguments without returning a value is must
the same as functions that don't. The
difference is that the () parens are
populated to let the function know about
the incoming data
- The
fnkeyword - A name
- Parenthesis with argument details. For example:
(thing: String) - A set of
{}curly brackets surrounding the function's code block