Chapter 17: Talk to Me (Function Procedures)
TRUE/FALSE
1. Function procedures are referred to more simply as structures.
2. The header and footer in a function are identical to the header and footer in a sub procedure.
3. A Sub procedure’s header includes the As dataType section.
4. In most cases, the last statement within a function is Update expression.
5. As is true with a Sub procedure, a function can receive information either by value or by reference.
6. After creating a function, you can invoke it from one or more places in an application’s code.
7. You invoke a function that you create in exactly the same way as you invoke one of Visual Basic’s
built-in functions.
8. When invoking a function, the data type and position of each argument does not need to agree with the
data type and position of its corresponding parameter.
9. The statement that invokes a function will always assign the function’s return value to a variable.
10. When changing the Sub keyword in a header to Function, the Code Editor automatically changes
the Sub keyword in the footer to the Function keyword.
11. Allowing more than one procedure to change the contents of a memory location can lead to subtle
errors that are difficult to find, especially in large applications.