Sub Statement

Difinas subproceduron.

Sintakso


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

Parametroj:

Name: Name of the subroutine.

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

Type:Ŝlosilvorto tipdeklara.

Ekzemplo:


Sub Example
    REM iuj ordonoj
End Sub