ID : 324
Sub...End Sub
Function
To declare the Sub procedure.
Syntax
Sub procedure name[(argument)] 'Statements End Sub
Guaranteed entry
- Procedure name
- Designate a procedure name. Each name must be specified in accordance with the Naming convention.
- Argument
- Declare an argument of the procedure. Declare each local variable in accordance with naming convention. More than one variable can be designated by separating each by a comma.
Description
The Sub procedure is declared.
Related Terms
Attention
-
Example
-
ID : 324