Sub Statement

Definierar en subrutin.

Syntax

Sub Name[(VarName1 [As Type][, VarName2 [As Type][,...]])]

statementblock

End Sub

Parametrar:

Name: Name of the subroutine.

VarName: Parameter that you want to pass to the subroutine.

F: Skriv-deklarationsnyckelord.

Exempel:

Sub Example

    ' vissa uttryck

End Sub