Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <1999762.TLoaxox4F2@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 22 Aug 2012 10:41:32 +0200 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <502fb66c$0$6212$ba4acef3@reader.news.orange.fr> <3964677.5NdWTflnOZ@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 40 NNTP-Posting-Date: 22 Aug 2012 10:41:33 CEST NNTP-Posting-Host: cacc3629.newsspool3.arcor-online.net X-Trace: DXC=h5mNFga`GJc`^9KP1=A_hZ9PnK X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:15490 emf wrote: > On 2012-08-20 10:27 Thomas 'PointedEars' Lahn wrote: >> emf wrote: >>> On 2012-08-18 11:36 SAM wrote: >>>> Le 18/08/12 16:03, emf a écrit : >>>>> but there are problems with the code. To begin with, if you click >>>>> Radians, the degmin checkbox *is* disabled, but then when I click >>>>> Clear while the Degrees is selected the degmin remains disabled. >>>> >>>> >>> >>> Thanks. >> >> The `disabled' property is of type *boolean*, _not_ number. You need to >> assign `false' (without quotes) instead. Anything else is >> implementation- dependent, therefore unreliable. >> >> > > While debugging, at some point I inserted an alert like: > > alert((a === x) + (b === x) + (c === x)); > > avoiding inserting spaces as not necessary for my purposes, and > expecting to get truetruetrue. Instead I got 3. The + sign had changed > the booleans to the corresponding numbers. Unsurprising, since as all operands were non-strings. Your point being? Please trim your quotes to the relevant minimum; do not quote signatures. And get a a real name. PointedEars -- > If you get a bunch of authors […] that state the same "best practices" > in any programming language, then you can bet who is wrong or right... Not with javascript. Nonsense propagates like wildfire in this field. -- Richard Cornford, comp.lang.javascript, 2011-11-14