Re: Question about unlang functionality
Markus Moeller wrote:
> Does this mean it is treated differently in an if condition where I
> don't need the quotes ?
No. The "man" page makes this clear. As of 2.0.1, you don't need
quotes in certain cases when doing conditional comparisons. The same
"man" page also says that for "switch" statements, the statement is
expanded if it is in double quotes.
> Couldn't the switch statement treat the word the
> same way as the if statement treats the left hand side word and the
> case word like the right hand side of an if statement ?
Yes.
As always, patches are welcome.
Alan DeKok.
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.