How is a Function procedure similar to or different from a Sub procedure?
What will be an ideal response?
A Function procedure is similar to a Sub procedure except that a Function procedure returns a single value to the calling procedure. Just like a Sub procedure, you can pass variables to the Function procedure using ByVal and ByRef. A Function procedure uses the keyword Function (instead of the keyword Sub) in the procedure declaration. You also must specify a return data type in the procedure declaration to define the type of variable that is being returned to the calling procedure by the Function procedure.
You might also like to view...
The Default Value, an option on the Data tab in the Property Sheet pane, allows you to define a value that will automatically appear in a new blank record
Indicate whether the statement is true or false
Cellpadding value is expressible in ____.
A. pixels B. cm C. em D. All of the above