[Javascript] select-case construct

Esther_Strom at hmco.com Esther_Strom at hmco.com
Mon Oct 29 13:58:49 CST 2001


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




More information about the Javascript mailing list