Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Bob Archer
] can you nest functions? problems with data types I can simplify this even more.. I have this ${position} This outputs 135 for the echo But when I try ${position - 3} It considers position a string, not an int. Without the outside ${ } its not an expression. How do I

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Steve Kapinos
teve Kapinos; 'Ron Grabowski'; 'nant' Subject: RE: [NAnt-users] can you nest functions? problems with data types Hey Steve, Use int::parse instead. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: zondag 14 septe

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Gert Driesen
Hey Steve, Use int::parse instead. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: zondag 14 september 2008 6:19 To: Ron Grabowski; nant Subject: Re: [NAnt-users] can you nest functions? problems with data types It's not r

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-13 Thread Steve Kapinos
his convert function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Grabowski Sent: Saturday, September 13, 2008 11:58 PM To: nant Subject: Re: [NAnt-users] can you nest functions? problems with data types It looks like you're doing some serious manipul

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-13 Thread Ron Grabowski
[NAnt-users] can you nest functions? problems with data types I can simplify this even more.. I have this ${position} This outputs 135 for the echo But when I try ${position - 3} It considers position a string, not an int. Without the outside ${ } its not an expression. How do

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-13 Thread Steve Kapinos
subtract 3 from it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: Saturday, September 13, 2008 11:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] can you nest functions? problems with data types Ok, I'm trying to

[NAnt-users] can you nest functions? problems with data types

2008-09-13 Thread Steve Kapinos
Ok, I'm trying to do some simple expressions to manipulate some values, but I'm not having luck nesting expressions. Specifically, I can not figure out how to use a function as a argument to another function. This means I have to use incremental steps and assign the value to a property, then refer