Share » Forums » Setup & design » If-then-elseif/case; Is there a...

If-then-elseif/case; Is there a better way in ez

If-then-elseif/case; Is there a better way in ez

Thursday 20 November 2003 2:09:01 am - 2 replies

Author Message

Tore Skobba

Thursday 20 November 2003 2:30:14 am

Hmm switch/case ?

Like
{switch match=$:item.Rating}
{case match=gt(1.25)}
do some stuff
{/case}
{case match=gt(2.35)}
do some stuff
{/case}
{/switch}

Tristan Koen

Thursday 20 November 2003 4:15:52 am

Yes... thats exactly what I was looking for. I must have missed it in the docs.
Thanks very much for the help.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu