Re: Wildcard_match behaviour

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu