ImplicitLineContinuation
In many cases, you can continue a statement on the next consecutive line without using the underscore character (_). The following lists the syntax elements that implicitly continue the statement on the next line of code.
After a comma
sub mySub(a as ushort, b as ushort, c as ushort) end sub
exception to this rule is macro declaration
After a curly bracket "{" and before a "}"...
private const data() as ushort = { 1,2,3,4,5,6,7,8,9, 9,8,7,6,5,4,3,2,1 }
After a bracket "(" and before a ")"
public mySub (
1,2,3
)
exception to this rule is macro declaration
Concatenation...
dim str as string = "two" str = "one" & str & "three"
Assignment operators...
=, &=, +=, -=, *=, /=, \=, ^=, <<=, >>=
dim myStr as string = ucase(str) + lcase(str)
Binary operators...
+, -, /, *, Mod, <>, <, >, <=, >=, ^, >>, <<, Not, IsNot, And, AndAlso, Or, OrElse, Xor
dim a as ushort = 1 dim b as ushort = 2 dim result as ushort = a * b if (a < 2) or (b > 8) then end if
After dim, const or config...
dim a as ushort = 1, b as ushort = 2, c as ushort = 3


