W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1997

Re: Possible error

From: Arnaud Le Hors <lehors@w3.org>
Date: Mon, 22 Sep 1997 17:27:51 +0200
Message-ID: <34268E77.5C081F33@w3.org>
To: Dave Raggett <dsr@w3.org>
CC: MegaZone <megazone@livingston.com>, www-html-editor@w3.org
Dave Raggett wrote:
> 
> On Mon, 22 Sep 1997, MegaZone wrote:
> 
> > Section 19.1.3, page 220:
> > In VBScript, the problem may be avoided with the Chr() function:
> >
> >     "<EM>This will work<\" & Chr(47) + "EM>"
> >                         ^
> >                         |
> > I don't believe that backslash should be there in this example.
> 
> Thanks.
> 
> I think the "+" should be an & for string concatenation.

Hmm, I would have thought the other way. The "&" should be a "+" for
string concatenation. But I'm only guessing, I actually don't know
anything about VBScript. It's just that "+" is much more common.
-- 
Arnaud
Received on Monday, 22 September 1997 11:28:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:42 GMT