Long Strings

From HashVB
Revision as of 13:05, 6 March 2014 by Dee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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."