Sub Statement

Määrab alamprotseduuri.

Süntaks

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

lause sisu

End Sub

Parameetrid:

Name: Name of the subroutine.

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

Type: tüübi kirjelduse võtmesõna.

Näide:

Sub Example

    REM mõned laused

End Sub