Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] select-case construct (amended)
- From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
- Subject: [Javascript] select-case construct (amended)
- Date: Mon, 29 Oct 2001 13:59:51 -0600
Forgot to mention...this needs to work in NS4.7 for PC and Mac.
Thanks.
----- Forwarded by Esther Strom/McDougal/hmco on 10/29/01 01:58 PM -----
Esther Strom
To: javascript@xxxxxxxxxx
10/29/01 cc:
01:58 PM Subject: select-case construct
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
- Prev by Date: [Javascript] select-case construct
- Next by Date: [Javascript] select-case construct
- Previous by thread: [Javascript] select-case construct
- Next by thread: [Javascript] select-case construct (amended)
- Index(es):