RE: [Nant-users] dynamic properties and functions

2004-09-16 Thread Nick Zigomanis
well. I didn't realise that the if could be used in this way. Thanks again, Nick. -Original Message- From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 September 2004 5:00 PM To: Gert Driesen Cc: Nick Zigomanis; [EMAIL PROTECTED] Subject: Re: [Nant-users] dynamic prop

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Jaroslaw Kowalski
CTED]> Sent: Thursday, September 16, 2004 9:07 AM Subject: Re: [Nant-users] dynamic properties and functions > Hi Jarek, > > I think we should add a task (similar to the xsl:choose) as soon as > possible, I thin

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Gert Driesen
From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Nick Zigomanis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 9:00 AM Subject: Re: [Nant-users] dynamic properties and funct

Re: [Nant-users] dynamic properties and functions

2004-09-16 Thread Jaroslaw Kowalski
It should be possible to use the if() operator: The semantics of if(a,b,c) is: "if a=True then b else c" which is exactly what "a ? b : c" operator from C/C++/C#. Gert, what do you think of extending it to (backward compatible): if (condition1,result1,condition2,result2, ..., conditionN,resul

Re: [Nant-users] dynamic properties and functions

2004-09-15 Thread Gert Driesen
Nick, The "if" condition is evaluated, not the value of the property. Gert - Original Message - From: "Nick Zigomanis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 7:06 AM Subject: [Nant-users] dynamic properties and functions Hi all, I'm trying to set d