Long Strings

From HashVB
Revision as of 23:30, 15 February 2007 by Drnoitall.hello (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."