Line continuation character
By: Srivatsa Prakash Date: 24/09/1998

If you want to break long lines of code in smaller ones, use a space and a underscore " _". For example:

strMyString = Trim(strAddress1) _
+ Trim(strAddress2) _
  Trim(strZipCode) _
+ Trim(strCity) + Trim(Country)

For Visual Basic the four lines above are one line, but for the programmer, reading the code is made easier.

Click Here!

Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
To contact the Webmaster, click here.
Hosted by InWind: