Thread: poxy javascript
View Single Post
Old 03-07-2003, 11:44   #2 (permalink)
dcd
Senior Member
 
dcd's Avatar
 
Join Date: Feb 2003
Location: Canterbury
Posts: 103
I don't think so - there are to many 'elses'. From the programming I've done else simply provides you with ONE alternative to the original IF.

In other words you acn't have IF a ELSE b ELSE c - the ELSE c bit would be useless as ELSE b would cover every situation other than the original IF a.

I hope that makes sense.

Um what would work though....

Can you set it up in a loop? I mean have the 5 different options (6 if you include the "unfortunately we're unable to do anything.") and use a call function if option 1 isn't true then call option 2, if that aint true then call option 3 etc.

Might work, might not!
__________________
Living in the Slow Lane
  Reply With Quote