Created
December 5, 2010 09:39
-
-
Save harrisony/728974 to your computer and use it in GitHub Desktop.
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
Module ImplicitLineContinuations | |
'After a comma (,). | |
Public Function test1(ByVal x As Integer, | |
ByVal y As Object, ByVal z As Object) | |
Return 1 | |
End Function | |
'After an open parenthesis (() or before a closing parenthesis ()). | |
Public Function test2( | |
ByVal x As Integer, ByVal y As Object, ByVal z As Object | |
) | |
Return 1 | |
End Function | |
'After assignment operators (=, &=, :=, +=, -=, *=, /=, \=, ^=, <<=, >>=). | |
Public test3 = | |
My.Application.Info | |
'After the concatenation operator (&). | |
Public test4 = vbNewLine & | |
vbCrLf | |
'After binary operators (+, -, /, *, Mod, <>, <, >, <=, >=, ^, >>, <<, And, AndAlso, Or, OrElse, Like, Xor) within an expression. | |
Public test5 = 1 + | |
2 Mod | |
5 | |
'After the Is and IsNot operators. | |
Public Function test6() | |
If TypeOf ("test") Is | |
String Then | |
Return 1 | |
End If | |
Return 0 | |
End Function | |
End Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment