![]() |
![]() |
currently I know of being able to
i.e.
[if value somthing == 1]
[then]
something 1 [/then]
[elseif value something == 2] something 2
[/elsif]
[else]
something rest [/else]
[/if]
but I would really like to be
[if value something]
[condition something == 1] something 1
[/condition]
[condition something == 2] something 2
[/condition]
[condition something == 3] something 3
[/condition]
[condition something == 4] something 4
[/condition]
........and so on.......
[/if]
so it finds the contion that matches and does it.
bit like a case statement.
I know that I can use no end of nested Ifs but that becomes messy
any help???????????
--
'Darn it, who spiked my coffee with water?!' - larry wall