Back to lesson
1. Which of the following is a valid function?
Sub MyAnswer(sQuestion as String)
Function MyAnswer(sQuestion as String)
Function MyAnswer() As String
2. What does a function do?
Run a predefined set of steps
Perform math on inputs
Take inputs, operate on them, and return something back to the calling routine
3. If you neglect to declare the scope of the function, what will its default scope be?
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement