Visual Basic Explorer
Visual Basic Explorer
 Navigation
 Home


 Coding
 Source Code

 FAQ Center

 VB Tips

 Downloads

 ToolBox

 Tutorials

 VB Games

 VB News

 VB Award

 VB Forums



 Affiliates
 Planet Source Code

 Rent a Coder

 DirectX4VB


 Misc
 Search

 Feedback

 Advertise

 About


Need to hire
a VB coder?

Please support our sponsor:

 Home 
 Site Map 
 Forums 
 News 
 Feedback 

Line Continuation Character!

Versions of Visual Basic from 4 and up include a line continuation character. The 'Underscore' character allows you to break a long line of code over into the next line. This can be very useful to help improve your code readability.

strMyString = Trim(strAddress1) & Trim(strAddress2) & Trim(strZipCode) _
& Trim(strCity) & Trim(Country) & Trim(strAreaCode) & Trim(strPhone)
--------------------------------------------
Original tip and project submitted 
by Srivatsa Prakash. Minor text
editing and expanded explanation 
by Burt Abreu.
--------------------------------------------

Download VB4 Sample





Home | About | What's New | Source Code | FAQ | Tips & Tricks | Downloads | ToolBox | Tutorials | Game Programming | VB Award | Search | VB Forums | Feedback | VBNews | Copyright & Disclaimer | Advertise | Privacy Policy |

Quick searches: Site Search | Advanced Site Search 

Copyright 2002 by Exhedra Solutions, Inc.
By using this site you agree to its terms and conditions
VB Explorer and VBExplorer.com are trademarks of Exhedra Solutions, Inc.