A few things straight off the bat -
1. Your test expressions are each missing a closing parenthesis for the
wcmatch expression:
2. Both of your test expressions are the same, and so the second condition will never be executed (as, if the test expression is validated,
cond will stop evaluation at the first condition; if the test expression is not validated, neither conditions will be evaluated).
3. If
"03" is
within the string being tested, you may need to add wildcard operators [e.g.
(wcmatch (strcase attvalue) "*03*")], otherwise, if you're testing for an exact match, I feel that a simple equality operator is more appropriate, e.g.
(= (strcase attvalue) "03")