Results 1 to 2 of 2

Thread: Continuing a line in JavaScript

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question Continuing a line in JavaScript

    How do I continue a line in JS? In VB I use " & _" but what about JS?

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    JavaScript has line terminators: semicolons. So it will continue a line on its own. The string concatination operator is +, if I'm not mistaken.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

Posting Permissions

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



Click Here to Expand Forum to Full Width