[nant-dev] expression support - null's

2004-05-16 Thread Gert Driesen
Hi Jarek, Should we add a built-in function to allow for null checks in the NAnt expression language ? eg. if test=${isnull(property::get-value())} Jarek, what do you think ? Do we have such a thing as a global namespace (meaning without prefix) ? Gert

Re: [nant-dev] expression support - null's

2004-05-16 Thread Ian MacLean
Gert Driesen wrote: Hi Jarek, Should we add a built-in function to allow for null checks in the NAnt expression language ? eg. if test=${isnull(property::get-value())} Jarek, what do you think ? Do we have such a thing as a global namespace (meaning without prefix) ? no. I think the current

Re: [nant-dev] expression support - null's

2004-05-16 Thread Jaroslaw Kowalski
-Developers (E-Mail) [EMAIL PROTECTED] Sent: Sunday, May 16, 2004 8:22 AM Subject: Re: [nant-dev] expression support - null's Gert Driesen wrote: Hi Jarek, Should we add a built-in function to allow for null checks in the NAnt expression language ? eg. if test=${isnull(property::get-value

Re: [nant-dev] expression support - null's

2004-05-16 Thread Ian MacLean
+1 Scott Hernandez wrote: I like the null literal more than a is-null() function. - Original Message - From: Jaroslaw Kowalski [EMAIL PROTECTED] We can have a null literal and overload comparisons for equality and inequality: if test=${property::get-value(...) != null} / This would