[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
How to do if..then..elsif
- From: nospam@thanx
- Date: Mon, 20 Aug 2001 15:00:22 +0530
Hi,
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
http://www.engelschall.com/sw/wml/docs/backend/wml_p2_mp4h.html
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
end.
Can someone help?
Thanks,
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