Sub Statement

རྒྱུན་ལས་འོག་མ་ཅིག་ངེས་འཛིན་འབདཝ་ཨིན།

ཚིག་སྦྱོར།

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

གསལ་བཤད་འགག་ནི།

End Sub

ཚད་བཟུང་ཚུ་:

Name: Name of the subroutine.

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

དབྱེ་བ་: དབྱེ་བ་གསལ་བསྒྲགས་གཙོ་ཚིག

དཔེར་བརྗོད:

Sub Example

    ཨར་ཨི་ཨེམ་ལ་ལོ་ཅིག་གསལ་བཤད་ཚུ།

End Sub