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
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
-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
+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