Re: Wildcard_match behaviour
- Posted by D. Newhall <derek_newhall at yahoo.com> May 30, 2006
- 474 views
Julio C. Galaret Viera wrote: > > Why is this sentence not detected as an error? [missing ")" in first > wildcard_match > is at the end] > > }}} <eucode> > if... > > elsif wildcard_match("--month=???", cmd[3] and > wildcard_match("--update=NET-???", cmd[4])) > then > > else... > > end if > }}} <eucode> It's not an error technically. What you're doing is and-ing `wildcard_match("--update=NET-???", cmd[4])` and `cmd[3]` and then calling `wildcard_match("--month=???",` with the result.