Function
A function produces a return value from a list of argument values.
Related concepts: OperatorParameterArgumentReturnMethod
Closest Wikipedia entry: Subroutine
Misconceptions about Function15 documented Misconceptions
Check YourselfDeferredReturn
A return statement in the middle of a function doesn't return immediatelyMultipleValuesReturn
Functions can return multiple valuesOutsideInFunctionNesting
Nested function calls are invoked outside inParenthesesOnlyIfArgument
() are optional for function calls without argumentsReturnCall
Return statements need () around the return value