[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

How to do if..then..elsif


My problem is that I would like to define a WML macro that is modelled as an
if .. then .. elseif .. else ...

I read the docs at 
but could not find any convenient way of doing this.

I am trying to write a macro to represent a bid in bridge : something
like <bid 1C> where the legal values for the bid are represented by the
regexp [1-7][C|D|H|C|NT]

Depending on the bid I would like to show the appropriate suit symbol in the
output.  I would also like to have a default error handling clause at the 

Can someone help?

Rajendra Gokhale (rvg@creato.org)
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com