Difference between revisions of "Long Strings"

From HashVB
Jump to: navigation, search
(No difference)

Revision as of 23:30, 15 February 2007

When you use long strings, use the underscore line-continuation character to easily create multiple lines of code.

eg.

Dim words As String

words = "Hello this is supposed " _

     & "to be a very long string "_
     & "to show you how to use "_
     & "the underscore line-continuation "_
     & "character."