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.

Type: ์œ ํ˜• ์„ ์–ธ ํ‚ค์›Œ๋“œ์ž…๋‹ˆ๋‹ค.

์˜ˆ:

Sub Example

    REM some statements

End Sub