Re: Switch() Statement Not Working
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Switch() Statement Not Working

From: Evertjan. <exjxw.hannivoort@interxnl.net>
Date: Tue Jan 31 2006 - 20:15:24 CET

Evertjan. wrote on 31 jan 2006 in comp.lang.javascript:

> wrote on 31 jan 2006 in comp.lang.javascript:
>
>> switch(b)
>> {
>> Case >=1.25 && <=1.30:
>> this.form.dlnt.value=.01;
>>
>
> It is all in the name:
>
> case is lowercase!
>

and give me a break:

you will have to use break;

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Received on Tue Feb 7 21:29:08 2006