Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #14519

Re: I copied from a book and still got an error.

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: I copied from a book and still got an error.
Date 2012-06-15 15:53 +0200
Organization albasani.net
Message-ID <jrfeol$5ar$1@news.albasani.net> (permalink)
References <v7qgt7tgkujpet9v55flpi9vrthm5r1dto@4ax.com> <dnrgt7t3sojq9klj8lq6q7afo6g05rjb2h@4ax.com> <0psgt79llttv90nt23ch4u7r4b6oe3c1kv@4ax.com> <jr9teu$ejq$1@news.albasani.net> <4lblt7ljmof1o8eckn5j18g7q0ji0kgpi4@4ax.com>

Show all headers | View raw


On 2012-06-15 06:01, micky wrote:
> On Wed, 13 Jun 2012 13:27:26 +0200, Stefan Weiss
> <krewecherl@gmail.com> wrote:
>>As for your question, the code you posted should work fine, apart from
>>the line break in 'I told you not to click me!'. Make sure that your
>>strings start and end on the same line.
> 
> I went back and looked, and the string *was* all on the same line when
> I wrote it, but Sea Monkey rearranged things.   It move  type="button"
> from right after "input" to just before the >, and that left space in
> the first line, so the string spanned the first and second line!!!
> 
> Is Sea Monkey screwed up?

It's possible. I don't use SeaMonkey, so I can't check this myself, but
I suspect there is an option for how the editor handles
wrapping/breaking of long lines. If there is such an option, try setting
it so that lines are never physically broken. If this behavior can't be
adjusted, I would switch to a different editor.

From your other posts, it sounds like you're still not convinced that
the broken string is the reason why your code doesn't work. You can
confirm this yourself by editing and saving the file with a simple text
editor like Notepad.

- stefan

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-13 06:37 -0400
  Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-13 06:49 -0400
    Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-13 07:03 -0400
      Re: I copied from a book and still got an error. Stefan Weiss <krewecherl@gmail.com> - 2012-06-13 13:27 +0200
        Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 00:01 -0400
          Re: I copied from a book and still got an error. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-15 06:11 +0000
            Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 02:24 -0400
              Re: I copied from a book and still got an error. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-15 06:38 +0000
                Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 05:01 -0400
            Re: I copied from a book and still got an error. Dr J R Stockton <reply1224@merlyn.demon.co.uk.not.invalid> - 2012-06-16 21:55 +0100
              Re: I copied from a book and still got an error. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-17 07:50 +0000
                Re: I copied from a book and still got an error. Dr J R Stockton <reply1225@merlyn.demon.co.uk.not.invalid> - 2012-06-19 20:37 +0100
                Re: I copied from a book and still got an error. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-06-20 15:10 +0000
          Re: I copied from a book and still got an error. Stefan Weiss <krewecherl@gmail.com> - 2012-06-15 15:53 +0200
            Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 18:07 -0400
              Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-19 21:22 -0400
  Re: I copied from a book and still got an error. Martin Honnen <mahotrash@yahoo.de> - 2012-06-13 13:04 +0200
    Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 00:01 -0400
  Re: I copied from a book and still got an error. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-06-13 14:21 +0300
    Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 00:01 -0400
      Re: I copied from a book and still got an error. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-06-15 08:05 +0300
        Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 02:37 -0400
          Re: I copied from a book and still got an error. "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-06-15 09:58 +0300
            Re: I copied from a book and still got an error. micky <NONONOmisc07@bigfoot.com> - 2012-06-15 04:45 -0400

csiph-web