Sub Statement

Defines a subroutine.

தொடரமைப்பு:


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

அளவுருக்கள்:

Name: Name of the subroutine.

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

Type: Type-declaration key word.

எடுத்துக்காட்டு:


Sub Example
    ' சில கூற்றுகள்
End Sub

Please support us!