LibreOffice 6.1 Help
定義子常式。
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.
Type:類型宣告關鍵字。
Sub Example
REM 一些陳述式