Skip to content

Instantly share code, notes, and snippets.

@SeongilRyu
Created January 5, 2019 06:58
Show Gist options
  • Save SeongilRyu/ec60bd70f8e9b3dc0aa3d106b5c070d4 to your computer and use it in GitHub Desktop.
Save SeongilRyu/ec60bd70f8e9b3dc0aa3d106b5c070d4 to your computer and use it in GitHub Desktop.
Function fnc_add(width As Integer, height As Integer)
''함수 예제
Dim 가로 As Integer
Dim 세로 As Integer
Dim 면적 As Integer
가로 = width
세로 = height
면적 = 가로 * 세로
MsgBox 면적
fnc_add 면적 ''return value
''
'' 결과: 입력 변수에 따른 결과
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment