On Thu, 21 Mar 2002, stephan beal <[EMAIL PROTECTED]> wrote:

> In a "normal" scripting language you could do this:
> 
> $foo = false;
> if( $foo ) { 
>   print "blah";
> } # this'll never run
> 
> in ant, however, it would run.

But you don't do that, you'd do something like

char *foo = "false";
if (foo) {
    puts("blah");
}

taken from C.  The argument of the if/unless attributes is not the
value of a property, but the reference to it.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to