[thelist] VBScript line wrap shortcut

Chris Blessing webguy at mail.rit.edu
Tue Nov 27 12:55:12 CST 2001


End the line with an & + underscore like this:

strText = "blah blah blah" & _
	     blah blah blah"

strText2 = strText & _
	     "bleh bleh bleh"

You must use separate strings or objects.  For example, this won't work:

strText = "blah blah & _
	    blah"

-Chris

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Kevin D. White
> Sent: Tuesday, November 27, 2001 1:44 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] VBScript line wrap shortcut
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Does anyone remember the shortcut to allow a VBScript statement to wrap
> across two lines?  I have a really long text string that I need to save in
> variant.  I don't want the text string to go out to 200 columns 
> in the code.
> ________________________________
> Kevin D. White
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
> 
> iQA/AwUBPAPe86gF9gKq6cE9EQIlsgCfUcvck3eFm9NwaVUi1kRWAjaCJS4AoI4c
> diZq3733yYDUX9AmWRU2SGQ6
> =ngm0
> -----END PGP SIGNATURE-----
> 
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 
> 





More information about the thelist mailing list