 |

Element Name | Description |
subName | The name of the sub. |
argumentList | A comma-separated list of declarations for arguments passed to the sub when it is called. This element is optional. The syntax for each of the arguments listed is:
arg1 As dataType
arg1 is the variable name for the argument passed into the sub.
As dataType specifies the variable's data type. You can omit this clause and append a data type suffix character to the variable arg1.
Enclose the entire list of argument declarations in parentheses. |
statements | One or more lines of code which specify the work the sub performs. These statements can contain:
- assignment statements
- variable declarations
- calls to other subprograms
- control flow statements
|
|