Syntax |
s$ = "This is a
very long line that I want to split " & _ |
Description |
Line-continuation character, which allows you to split a single script onto more than one line. |
Comments |
The line-continuation character cannot be used within strings and must be preceded by white space (either a space or a tab). The line-continuation character can be followed by a comment, as shown below: i = 5 + 6 &
_ 'Continue on the next line. |
Example |
Const crlf = Chr$(13) + Chr$(10) Sub Main() msg1 = "This line is a line of
text that" & crlf & "extends beyond " _ 'It is also useful for separating and continuing long calculation lines. b# = .124 |
Symbols |