Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] select-case construct


  • From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
  • Subject: [Javascript] select-case construct
  • Date: Mon, 29 Oct 2001 13:58:49 -0600

I'm sure this has been mentioned before, but I can't find the message or an
example in any of my books. Can you use a select-case construct in
javascript?

Pseudocode example:

select case prodStatus

Case "New"
//do this

Case "In Progress"
//do this

Case else
//do this

End select

Thanks for any help available.

Esther