Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Dr J R Stockton Newsgroups: comp.lang.javascript Subject: Re: What is wrong with this code?its not working Date: Mon, 24 Oct 2011 20:05:34 +0100 Organization: Home Lines: 18 Message-ID: References: <55a344ce-8a2b-494a-bfe8-fadd3a5e2e08@h30g2000pro.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii Injection-Info: mx04.eternal-september.org; posting-host="UwYDIHu13GPq28RciNoAJA"; logging-data="27408"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2zdH8kX5dcXIku1CU7jp1Y1OprpwRBcM=" User-Agent: Turnpike/6.05-S () Cancel-Lock: sha1:4wDjDRMJ5cEPgUx6Ja3zYz0ET44= Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:7674 In comp.lang.javascript message , Sun, 23 Oct 2011 11:25:24, John G Harris posted: >You should make some attempt to make your code easier to read. It'll >help you as well. And that indentation can be obtained by pasting the script into a copy of my js-quick.htm and pressing the 'Indt' button. (It alters only the number of spaces directly following each newline, and unmatched bracket- like things within strings or comment on a line need to be matched in trailing comment.) -- (c) John Stockton, near London. *@merlyn.demon.co.uk/?.?.Stockton@physics.org Web - FAQish topics, acronyms, and links. Correct <= 4-line sig. separator as above, a line precisely "-- " (RFC5536/7) Do not Mail News to me. Before a reply, quote with ">" or "> " (RFC5536/7)