VBScript commands on multiple lines

Results 1 to 2 of 2

Thread: VBScript commands on multiple lines

  1. #1
    Josh Rodman Guest

    Default VBScript commands on multiple lines

    I have been programming in VBScript, and have had only one problem. I would like to spread out a command over several lines. Is this possible?<BR><BR>I know that with Perl and C-based languages, a semicolon determines the end of a line - making it easy to spread over several lines. Is this same thing possible with VBScript, with some other character to determine a multi-line command?<BR><BR>

  2. #2
    Kevin Guest

    Default RE: VBScript commands on multiple lines

    You can use the _ symbol. ie<BR><BR>strtext = "Insert into " & strtablename & _<BR> "values(&#039Hello world&#039)&#039 <BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •