Minor, minor style question
Tim Roberts
timr at probo.com
Wed Mar 6 07:27:26 CET 2002
mats at laplaza.org (Mats Wichmann) wrote:
>
>I'm far from being a Javascript expert, but I thought it was missing
>there, too. My one bit of Javascript coding a few years back I ended
>up having to do something like this to make mutiline text messages.
>Of course, Python can do the multiline messages natively...
No, Javascript has a continuation character (backslash), but it's not often
required in Javascript because, unlike Python and VB, Javascript is
free-format:
str = "This is a long long string, " +
"which I can encode just by " +
"concatenating a bunch of strings " +
"on separate lines.";
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list