Re: !!ETH!! Bug in Pre-Processor ipp (DEFINE)?

Jan Holler <[email protected]> Mon, 2 Oct 2006 19:25:02 +0200
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
Hi Denis

> No, the problem is not with quotes, there is a spurious =
> in your example which is taken as an argument on its own.

I was very in a hurry when I wrote down my question. I had it done
badly, the writing down. Correctly it should  have said:

.wmlrc:
-D FOO = "not empty"

<ifneq $(FOO) "" true false >   returns an error

The same without quotes around <get-var> works, gives back true:

<ifneq <get-var FOO> "" true false >    returns true

But nevermind, the problem is solved for me using quotes,

<ifneq "$(FOO)" "" true false >

Thank you all.




-- 
  Holler iNetCom
  http://www.inetcom.ch/  tel: +41 31 3725450  fax: 51
  landoltstr. 64, 3007 bern, schweiz
  postanschrift: postfach, 3000 bern 23

_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]