Created
June 12, 2014 05:58
-
-
Save hymkor/44bcd1e85842984e1ae6 to your computer and use it in GitHub Desktop.
えぇ、このソース GoSub なんてあるのかい!? ref: http://qiita.com/zetamatta/items/ab1d2a8937e4977249ea
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Foo() | |
'変数宣言もろもろ | |
'処理もろもろ | |
GoSug Hoge | |
Hoge: | |
Return | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Foo() | |
'変数宣言もろもろ | |
Dim Hoge As Action = | |
Sub() | |
End Sub | |
'処理もろもろ | |
Hoge.Invoke() | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'On Error GoTo' ステートメントを含むメソッドに、ラムダを生成する式を含めることはできません。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment